similar to: a switchtower recipe to copy rather than checkout

Displaying 20 results from an estimated 900 matches similar to: "a switchtower recipe to copy rather than checkout"

2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote server? In the docs it says that one cannot use file:// so what''s the configuration step for resolving this issue? Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello, I am trying to figure out how to use switch tower.I have a local copy of source code and I want to put it on the host.Now I dont want to put directories like config/ because the settings on the host and the one on my machine are different. Any way to do this? Also is svn necessary to use SwitchTower? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Oct 13
0
Deployment problem with Capistrano
I have everything set up that I need - SVN, webserver (Apache2.2), mongrels, etc. Capistrano is deploying the site well enough, to a point. I need to create sym-links to my file-column created content directories (in shared) and copy the database.yml file (also from shared) into the current folder. I''ve written the following task: desc "Copy the database config file over and set
2006 Apr 25
0
Capistrano adding shared files
I''m finding the :before_task and :after_task facilities in Capistrano very useful. For example, I needed to add a shared directory to my system. All I had to do was add a few lines to deploy.rb: desc "Add shared usr_img directory to shared" task :after_setup do run <<-CMD mkdir -p -m 775 #{shared_path}/user_img CMD end desc "Link shared usr_img directory
2006 Mar 16
4
Capistrano :update_code problem
Hi all, I want to love capistrano and I''m so close. My error is occuring while running the update_code task... (apologies for the shell spew) ************************************************************************* * executing "rm -rf /home/henster29/sites/glitter/releases/20060316143447/log /home/henster29/sites/glitter/releases/20060316143447/public/system &&\n ln
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a shared_path/config dir, and put database.yml in it. After I update the code, I want to link the app''s database.yml file to the shared config. So I added this task desc ''Copy the database config'' task :after_update_code, :roles => :app do run "ln -s #{shared_path}/config/database.yml
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when working in a shared hosting environment, the Capistrano model can be outside the capabilities allowed by the Web host. I simply need to push selected directories (on a changed-file basis) out to a server. I have about 80% of the code written to do this (I''m considering YAC for the name, with a nod to
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone, What are other people doing with regards to database.yml being in version control? My dilema: I set up my rails app in svn using these instructions: http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion The part to note is where I ignore database.yml, allowing different developers to keep their own database.yml without clobbering other developers'' files.
2005 Aug 04
1
SwitchTower CVS support
I did an svn up this morning and discovered this whole new bundle of code! Lookingn through it it looks cool, but there''s no CVS support for an SCM - I''d have thought this would be more widely used than darcs. Looking at the code for subversion.rb and I thought it''d be possible to add a new scm - CVS. I''m running into 3 problems: 1- I''m still
2006 Feb 09
1
SwitchTower with multiple repositories
I''d like to get SwitchTower to checkout from different repositories per role? The db role checks out different stuff from the app role, etc. I don''t mind redefining SwitchTower::SCM::Subversion.checkout. But I''m not sure the best way to do it. How would that method parameterize the repository based on role? It''d be something like this: command =
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2006 Mar 02
0
Making SwitchTower work with csh (and other non-posix shells)
I tried using ST, but it didn''t work with the csh shell. Today I decided to make it work, and came up with the very simple solution of wrapping the failed commands inside a bash instance. Blog post is http://www.flpr.org/articles/2006/03/02/make-switchtower-work-with-csh-hack Solution (so you don''t have to read the blog post :) is to edit
2013 Nov 29
4
Capistarno deploy each time ckeditor assets removed.
Hi all, I have Rails 4.0.0 app, After capistrano deploy my ckeditor_assets are being removed. Could not symlink to shared/ckeditor_assets folder. I have followed this step : namespace :uploads do > > desc <<-EOD > Creates the upload folders unless they exist > and sets the proper upload permissions. > EOD > task :setup,
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. Manual: http://manuals.rubyonrails.org/read/book/17 Project:
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is giving me some headache: My development machine is windows and my deployment host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I wrote my own task for that. But does there exist any smarter way to get this automated ? I think Subversion offers some possiblity to declare a file as executable, but no idea
2006 Jan 14
2
SwitchTower and SCGI
Hi ! Following the manual, section 2.6 describes how to replace the restart task. Since I''m using Lighttpd and SCGI, I did the following: desc "Restart the web server" task :restart, :roles => :app do sudo "cd #{deploy_to}/#{current} && scgi_cluster stop < #{deploy_to}/#{current}/config/.password" sudo "cd #{deploy_to}/#{current} &&
2006 Jan 16
1
switchtower custom tasks question.
hi, i''m just getting started using switchtower for deployment. i''m working with a small team of 3 and a hosted subversion repository. i have switchtower working, but i need to create two custom tasks and have those tasks run at deployment. 1) copy a working dispatch.fcgi from another folder, and 2) copy db/database.example to db/database.yml here is what i''ve tried,
2005 Dec 21
4
Switchtower question: how to use SVN export
I use Switchtower to deploy my Ruby on Rails application, which works great. However, it appears to be doing a SVN checkout, which includes all the .svn directories as well. I would rather do an export from SVN. Is it possible to configure Switchtower to do this, or can I extend it in the deploy.rb? I haven''t been able to find any examples on the internet so far. thanks, Jeroen
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
2006 Jul 10
1
Capistrano on Windows - Send Binary File
So, I''m using TechnoWeenie''s recipe ( http://rails.techno-weenie.net/tip/2006/4/3/integrating_file_column_and_capistrano ) for using Capistrano to deploy to a remote machine when the SVN repository isn''t accessible over the Internet. I keep running into a problem, though, with put(File.read("code_update.tar.gz"), "code_update.tar.gz") When Cap