mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Updated 🔧 How to Install (markdown)
parent
c6bbc7268c
commit
b1081cd359
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue