Can I set up multiple deploy targets with Capistrano?


#1

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


#2

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 M. wrote:

Pat


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)


#3

On Mar 7, 2006, at 2:53 AM, Pat M. 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