Yup, you're right on all three counts. :app is for where the mongrel or fastcgi listeners will be running. :web is where your webserver is. :db is where your migrations will be run from. Specifically, :db with :primary => true -- you should only run your migrations from a single server, or things will get nasty.

- Jamis

On Feb 7, 2008, at 6:11 PM, David Masover wrote:

How are each of the Rails deploy roles used? (:app, :web, and :db)

I imagine :app is where the application code is pushed to, and where Rails is actually run.

Is :db where the migrations are run from? (Or are they run from everywhere in :app? I'd assume they would work from there...)

Does :web do anything out of the box? (Could put nginx on a separate machine from the actual app servers. In this case, is :web the nginx machine?)

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to