This commit is contained in:
赵鑫 2022-09-04 14:53:03 +08:00
parent 52fba4f3b8
commit d90c53b706
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@
``` bash
npm install
PORT=8000 pm2 start server.js --name "RPi Status Server" --watch
npm start
```

View File

@ -5,7 +5,7 @@
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
"start": "PORT=8000 pm2 start server.js --name 'RPi Status Server:8000' --watch"
},
"repository": {
"type": "git",