Archive for the NodeJs Category

Tips to run nodejs server permanently

Posted in NodeJs on August 10, 2016 by tasam21

I have figured it out and feel like sharing it here for others to use and save time.

There are 3 ways to run your nodejs app permanently on ubuntu linux machines.

Use ampersand (&) at the end of your command. enter this command “nodejs feed.js &” (without the double quote).
Use forever command of npm package
User pm2 command of npm package

More details
Continue reading