Pat Maddox
2006-Mar-07 09:53 UTC
[Rails] Can I set up multiple deploy targets with Capistrano?
I have two servers up, one will be used for production, one for testing stuff. I''d like to set things up so I can upgrade each one independently. So I could type $ rake deploy That will update the test server. I do that, test it for a few minutes/hours/days whatever, then I can put it onto the main server: $ rake deploy_production Is this possible? If so, how can I do it? Pat
Mikkel Bruun
2006-Mar-07 12:16 UTC
[Rails] Can I set up multiple deploy targets with Capistrano?
Some ppl has already done this.. Search the archives... Capistrano doesnt support this out of the box (gem), so you need to do some code yourself On Tuesday, March 07, 2006, at 2:53 AM, Pat Maddox wrote:>I have two servers up, one will be used for production, one for >testing stuff. I''d like to set things up so I can upgrade each one >independently. So I could type >$ rake deploy > >That will update the test server. I do that, test it for a few >minutes/hours/days whatever, then I can put it onto the main server: >$ rake deploy_production > >Is this possible? If so, how can I do it? > >Pat >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsMikkel Bruun www.strongside.dk - Football Portal(DK) nflfeed.helenius.org - Football News(DK) ting.minline.dk - Buy Old Stuff!(DK) -- Posted with http://DevLists.com. Sign up and save your time!
Jamis Buck
2006-Mar-07 14:13 UTC
[Rails] Can I set up multiple deploy targets with Capistrano?
On Mar 7, 2006, at 2:53 AM, Pat Maddox wrote:> I have two servers up, one will be used for production, one for > testing stuff. I''d like to set things up so I can upgrade each one > independently. So I could type > $ rake deploy > > That will update the test server. I do that, test it for a few > minutes/hours/days whatever, then I can put it onto the main server: > $ rake deploy_production > > Is this possible? If so, how can I do it?You might want to take a look at: http://jamis.jamisbuck.org/articles/2006/01/03/using-switchtower- with-multiple-deployment-stages (or, if that got too long for your email client) http://tinyurl.com/zywlx Hope that helps, Jamis