Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start passenger in production environment?

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?

like image 239
Mr_Nizzle Avatar asked Aug 31 '11 17:08

Mr_Nizzle


People also ask

How do I enable Passenger?

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.

What is a Passenger in command?

The passenger command starts or stops a Passenger server in Standalone mode. In this section we will teach you how to use this command.

What is Passenger deployment?

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.

What is Passenger library?

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.


1 Answers

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.

like image 72
Benoit Garret Avatar answered Sep 20 '22 17:09

Benoit Garret