Deploy Rails 3 app to staging and production

Marc-Antoine Ross May 21st, 2011

I’ve spent a few days figuring out the proper configuration needed to deploy a rails app to both staging and production servers. It was time consuming as I don’t have a lot of experience with rails deployment. Like most rails developers I know, we mostly code and type heroku deploy. Some magic happens and we hit F5.

3 links that will help you deploy to staging and production

The most important part of the 3 link for me was to change apache’s configuration for staging and add “RailsEnv Staging” in the virtualhost directive.
VoilĂ , you should now have cap staging deploy and cap production deploy ready to fire away!

Entry Filed under: General

Leave a Comment

Required

Required, hidden

Some HTML allowed

Trackback this post  |  Subscribe to the comments via RSS Feed

Schedule

May 2011
M T W T F S S
« Oct   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
3031