# Manage node

# With pm2

# Install pm2

Install pm2:

npm install pm2 --global
1

# Start gny

# first go to the gny directory
cd gny

# start gny
pm2 start --name gny npm -- start
1
2
3
4
5

pm2 start gny

# Show logs

pm2 logs gny
1

# Stop gny

pm2 stop gny
1

# Status of gny

pm2 status gny
1

pm2 status

# Delete gny

pm2 delete gny
1