Updated 🔧 How to Install (markdown)

Louis Lam 2021-08-26 22:52:45 +08:00
parent c6bbc7268c
commit b1081cd359

@ -45,12 +45,12 @@ cd uptime-kuma
npm run setup
# Option 1. Try it
npm run start-server
node server/server.js
# (Recommended)
# Option 2. Run in background using PM2
# Install PM2 if you don't have: npm install pm2 -g
pm2 start npm --name uptime-kuma -- run start-server
pm2 start server/server.js --name uptime-kuma
```
@ -58,7 +58,7 @@ Browse to http://localhost:3001 after started.
```
# Listen to different port or hostname
pm2 start npm --name uptime-kuma -- run start-server -- --port=80 --hostname=0.0.0.0
pm2 start server/server.js --name uptime-kuma -- --port=80 --hostname=0.0.0.0
```
#### Useful Commands