If you are already using Passenger locally, that should make deployment easier for you. Depending on how you have your local dev server configured, you may still need to add the following lines in your .htaccess file (within public) on our server, if you don’t already:
PassengerEnabled On
PassengerAppRoot /home/USERNAME/path/to/rails/app
If you run into any trouble, try to refer to the guide in our KB for deploying apps (ignore the parts about creating a new app):
Summarized in what should only be a few steps for you:
1. Copy your app to our server.
2. Install the needed gems on our server via Bundler.
3. Create a MySQL user/database in SiteAdmin/cPanel (remember to grant privileges). Make sure you modify your database.yml file accordingly.
4. Do a database migration (make sure ENV = production)
5. Ensure that the .htaccess changes I mentioned above are set.
6. Bask in the glory of your Site5 powered Rails app 🙂
Answer #1
Hey Ryan,
If you are already using Passenger locally, that should make deployment easier for you. Depending on how you have your local dev server configured, you may still need to add the following lines in your .htaccess file (within public) on our server, if you don’t already:
PassengerEnabled On
PassengerAppRoot /home/USERNAME/path/to/rails/app
If you run into any trouble, try to refer to the guide in our KB for deploying apps (ignore the parts about creating a new app):
http://kb.site5.com/ruby-on-rails/how-to-deploy-a-rails-3-application-with-phusion-passenger/
And of course, feel free to ask another question if you get stuck!
Thanks,
Graham