mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47:24 +00:00
added pm2 commands for npm deploy
This commit is contained in:
parent
51e47feb37
commit
db6cba429e
1 changed files with 2 additions and 1 deletions
|
|
@ -193,7 +193,8 @@ If you prefer to run the server without Docker, you can use Node.js directly.
|
|||
```sh
|
||||
npm install --omit=dev
|
||||
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/`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue