MEAN, NodeJS, System

Node app Deployment and development process Manager

For development , its better to use nodemon

To install

npm install -g nodemon

To run

nodemon server.js

 

For Production , For most cases we can use forever

To Install

[sudo] npm install forever -g

To run

forever start app.js

forever start -a server.js

forever stop server.js

forever list

To see continuous Logs in terminal

forever logs server.js -f

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s