diff --git a/🔧-How-to-Install.md b/🔧-How-to-Install.md index 68a9187..fc4ce31 100644 --- a/🔧-How-to-Install.md +++ b/🔧-How-to-Install.md @@ -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