Skip to content

Instantly share code, notes, and snippets.

@tinwritescode
Created November 16, 2023 03:04
Show Gist options
  • Save tinwritescode/86c412a12207a1f16949f6971e2d21eb to your computer and use it in GitHub Desktop.
Save tinwritescode/86c412a12207a1f16949f6971e2d21eb to your computer and use it in GitHub Desktop.

Documentation for getting started

Install pm2

npm install -g pm2

Open directory

cd Centrex-FE-V2/

Start

pm2 start npm --name centrex-fe -- run start

Stop

pm2 stop centrex-fe

Delete

pm2 delete centrex-fe

Update changes

git pull
pm2 restart centrex-fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment