I'm starting the Rails 3
application with the following command:
passenger start -a 0.0.0.0 -p 3000 -d
but how do I tell passenger
to start the application in production
environment?
Enabling PassengerClick the Edit button to the right of your domain under the Web Hosting column. Scroll down to the Web Options section and check the Passenger (Ruby/NodeJS/Python apps only): check box. Click the OK button. The panel adds the /public subdirectory for you.
The passenger command starts or stops a Passenger server in Standalone mode. In this section we will teach you how to use this command.
Passenger is an open source web application server for Ruby. It handles HTTP requests, manages processes and resources, and enables administration, monitoring and problem diagnosis. Passenger is very easy to use, makes deploying in production much easier and is scalable.
Welcome to the Passenger Library, a comprehensive online resource about Ruby, Python and Node. js deployment, administration, scaling, high availability and more — through the use of the Phusion Passenger application server. The entire library is open source.
passenger start -a 0.0.0.0 -p 3000 -d -e production
Side note: always check the help, passenger start --help
would have told you the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With