Guest User

Untitled

a guest
Mar 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Generate an ecosystem.config.js file via pm2 ecosystem.
  2. Update the ecosystem.config.js file as per your needs such as server details (keys, ips, users) and repo details such as branch.
  3. Then run - pm2 deploy production setup.
  4. After that pm2 deploy production.
  5. On the server - Can check whethe pm2 is running successfully or not via pm2 list
  6. We can update the deployment via pm2 deploy production update.
Add Comment
Please, Sign In to add comment