added pm2 commands for npm deploy

This commit is contained in:
coja 2025-07-01 22:18:49 +02:00 committed by Alexey
commit db6cba429e

View file

@ -193,7 +193,8 @@ If you prefer to run the server without Docker, you can use Node.js directly.
```sh ```sh
npm install --omit=dev npm install --omit=dev
npm run build npm run build
npm run start npm install pm2@latest -g
pm2 start nmp -- start
``` ```
By default, the server will be available at `http://0.0.0.0:1337/`. By default, the server will be available at `http://0.0.0.0:1337/`.