From b1081cd359926430d28c9e9f1cc53444f5e09e39 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 26 Aug 2021 22:52:45 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=F0=9F=94=A7=20How=20to=20Install=20(?= =?UTF-8?q?markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 🔧-How-to-Install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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