When you start a Node.js server simply using node app.js, the server stops as soon as the shell session is killed. But if you want to keep you server running, as a server would naturally should, you need some way to keep the server proc alive. Forever is seemingly a popular choice for running a … Continue reading Running Node.js app as a service forever
It is easy to use Node.js on a CentOS VM running on Azure, or any other linux VM on Azure. You can simply yum (with EPEL) install Node.js. Then an easy way to check if everything is working fine, a good idea is to test running a server from node. I am using this simple … Continue reading Node.js server on Azure
I'm using a Centos 7.1 on Azure. Node.js is not there in default repo for CentOS via yum. But you can get it using EPEL. After you install EPEL you can get nodejs. And don't forget npm!
Set NODE_PATH to %USERPROFILE%\AppData\Roaming\npm\node_modules