Posted on

How to Run Nodejs Server Forever

Sharing is caring!

you need to install npm  nodemon after installing nodejs by typing just command in ssh (putty client)

# npm install nodemon

and then install

# npm install forever -g

after installing just run the node server by typing command in ssh

# forever start server.js &

in /client folder 
in /admin folder

then type CNTRL + D

Leave a Reply

Your email address will not be published. Required fields are marked *