Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Generate an ecosystem.config.js file via pm2 ecosystem.
- Update the ecosystem.config.js file as per your needs such as server details (keys, ips, users) and repo details such as branch.
- Then run - pm2 deploy production setup.
- After that pm2 deploy production.
- On the server - Can check whethe pm2 is running successfully or not via pm2 list
- We can update the deployment via pm2 deploy production update.
Add Comment
Please, Sign In to add comment