|
|
|
@ -61,8 +61,14 @@ npm run setup
|
|
|
|
|
node server/server.js
|
|
|
|
|
|
|
|
|
|
# (Recommended) Option 2. Run in background using PM2
|
|
|
|
|
# Install PM2 if you don't have it: npm install pm2 -g
|
|
|
|
|
# Install PM2 if you don't have it:
|
|
|
|
|
npm install pm2 -g && pm2 install pm2-logrotate
|
|
|
|
|
|
|
|
|
|
# Start Server
|
|
|
|
|
pm2 start server/server.js --name uptime-kuma
|
|
|
|
|
|
|
|
|
|
# If you want to see the current console output
|
|
|
|
|
pm2 monit
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Browse to http://localhost:3001 after starting.
|
|
|
|
|