Get your gear:
npm install
or yarn install
Run dev:
npm run dev
or yarn dev
Build front-end:
npm run build:prod
or yarn build:prod
Run Prod:
npm run prod
or yarn prod
PM2 will try and restart the application if it goes down to terminate the application:
npm run stop
or yarn stop
We use PM2 for monitoring, run the following command to see how the application is running:
pm2 monit
PM2 adds logs to the following directory:
/home/user/.pm2/logs/