mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Update README.md
This commit is contained in:
parent
db6cba429e
commit
79570530a3
1 changed files with 11 additions and 2 deletions
13
README.md
13
README.md
|
|
@ -193,8 +193,17 @@ 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 install pm2@latest -g
|
```
|
||||||
pm2 start nmp -- start
|
|
||||||
|
It is recommended to run the server using PM2:
|
||||||
|
```sh
|
||||||
|
npm install pm2@latest --global
|
||||||
|
pm2 start npm -- start
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, the application can be started directly with:
|
||||||
|
```sh
|
||||||
|
npm 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/`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue