Sweet. I'll try that tomorrow. On 6/13/07, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > > > > I have a web/app/svn server and a separate database server. Whenever I > > deploy my app, it treats the db server identical to the web/app > > server. By that, I mean it sets up the releases folder, etc. and > > deploys the entire app to the db server in addition to doing it on the > > web/app server. > > > > I end up with /path/to/myapp/(current|releases|revisions.log|shared) > > on both the db server and the web/app server. Is there anyway to make > > capistrano only deploy code to the web/app server and only do database > > stuff on the database server? > > > > I declared roles in my deploy.rb recipe like so: > > > > role :web, domain > > role :app, domain > > role :db, "db.#{subdomain}", :primary => true > > role :scm, "app.#{subdomain}" > > > > I figured it would only execute the svn and code updates on the web > > and app servers (which are the same in my case). > > Add :no_release => true .... > > role :db, "db.#{subdomain}", :primary => true, :no_release => true > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---