How to run multiple app using PM2?

前端 未结 4 910
北荒
北荒 2021-01-21 07:02

I want to run my angular4 app using PM2 it will run but when I am close the terminal it will stop.

  1. On this server already run

4条回答
  •  悲哀的现实
    2021-01-21 07:46

    Everything is fine just run below command from ROOT

    1) first go to your Project Directory and run below from from ROOT.

    pm2 start server.js
    

    it will work fine.

提交回复
热议问题