Hi,

I want to deploy an identical rails app (2.2.2) to several servers
(each with their own database) at the same time.
I have looked at loads of internet posts and I am still a bit
confused.

My current recipe (snippet) is:

set :location,  "mydomain.com"
...

role :app, location
role :web, location
role :db,  location, :primary => true

So if I have a "location2" how do I change the roles?

set :location,  "mydomain.com"
set :location2,  "myOTHERdomain.com"

role :app, location,location2
role :web, location,location2
role :db,  location,location2, :primary => true

or is it [location,location2]

Will migrations run on both location and location2 (which is what I
need)

Is adding the extra locations all I need to do?

Cheers
George

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to