Skip to content

Haribook/hello-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

# Install nodejs
apt-get install nodejs
# install node package manager
apt-get install npm
# Install forever module 
npm -g install forever
ln -s /usr/bin/nodejs /usr/bin/node
# Run nodejs application forever
forever start index.js
forever stop index.js

# one more way
npm install -g pm2
pm2 start index.js

# Generate start up script for pm2
pm2 startup ubuntu

run the last commd generated from above command.

On Mac
brew install node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors