cd <project-folder>
# intsall dependencies
yarn
# run the server
yarn start server.js
# run the server through pm2 as fork
yarn pm2 start server.js
# stop & delete the server sample through pm2
yarn pm2 delete server.js
# run the server through pm2 as cluster using max CPUs available
yarn pm2 start server.js -i max
# run the server through pm2 as cluster using max CPUs available
# ecosystem config
yarn pm2 start ecosystem.config.js
-
Notifications
You must be signed in to change notification settings - Fork 0
arcbjorn/node-pm2-management
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Test pm2 functionality
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published