I am in the process of migrating several rails apps from a single server that runs nginx, mongrel, and mysql to separate (virtual) servers and am wondering if I am, perhaps, overthinking my new deployment strategy. I am using Capistrano 2.1, btw...
What I would prefer is for the app tree to be deployed such that the rails app stuff is only on the vm running the mongrels, the static files would go to the nginx server (which is proxying to the rails backend) and no files would get put on the mysql server... but this leaves me with a few questions :-) Is it safe to omit the public folder when publishing to the app role? Are there other folders in my rails app tree I can omit during deployment to production (like test...)? Is there an easier way to exclude files/folders from being deployed to a role than just sending them and then deleting them? I am using the copy+tgz strategy to update code to avoid the need for scm utils on the production servers. Thanks for any suggestions... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---