Nginx, Passenger, and Rails: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
* work through [[rbenv| rbenv setup]] | * work through [[rbenv| rbenv setup]] | ||
* work through [https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu Passenger+Nginx installation] | * work through [https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu Passenger+Nginx installation] NOTES: | ||
** skip the part about 'securing' <code>/etc/apt/sources.list.d/passenger.list</code> | |||
** install <code>nginx-full</code> instead of <code>nginx-extras</code>! | |||
* cd into rails app directory as deployment user | * cd into rails app directory as deployment user | ||
* <code>passenger-config build-native-support</code> | * <code>passenger-config build-native-support</code> | ||
Revision as of 21:16, 25 November 2014
- work through rbenv setup
- work through Passenger+Nginx installation NOTES:
- skip the part about 'securing'
/etc/apt/sources.list.d/passenger.list - install
nginx-fullinstead ofnginx-extras!
- skip the part about 'securing'
- cd into rails app directory as deployment user
passenger-config build-native-supportapt-get install libmysqlclient-devgem install bundlerbundle install- update
/etc/nginx/nginx.conf(activate passenger) - replace
/etc/nginx/sites-enabled/defaultwith your app config - install
config/database.yml - run through rails production setup procedures (in nginx notes)
- reboot nginx