|
|
@ -47,7 +47,10 @@ Browse to http://localhost:3001 after starting.
|
|
|
|
|
|
|
|
|
|
|
|
### 💪🏻 Non-Docker
|
|
|
|
### 💪🏻 Non-Docker
|
|
|
|
|
|
|
|
|
|
|
|
Required Tools: Node.js >= 14, git and pm2.
|
|
|
|
Required Tools:
|
|
|
|
|
|
|
|
- [Node.js](https://nodejs.org/en/download/) >= 14
|
|
|
|
|
|
|
|
- [Git](https://git-scm.com/downloads)
|
|
|
|
|
|
|
|
- [pm2](https://pm2.keymetrics.io/) - For run in background
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
# Update your npm to the latest version
|
|
|
|
# Update your npm to the latest version
|
|
|
@ -67,11 +70,19 @@ npm install pm2 -g && pm2 install pm2-logrotate
|
|
|
|
# Start Server
|
|
|
|
# Start Server
|
|
|
|
pm2 start server/server.js --name uptime-kuma
|
|
|
|
pm2 start server/server.js --name uptime-kuma
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Browse to http://localhost:3001 after starting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
More useful PM2 Commands
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# If you want to see the current console output
|
|
|
|
# If you want to see the current console output
|
|
|
|
pm2 monit
|
|
|
|
pm2 monit
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Browse to http://localhost:3001 after starting.
|
|
|
|
# If you want to add it to startup
|
|
|
|
|
|
|
|
pm2 save && pm2 startup
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Advanced Installation
|
|
|
|
### Advanced Installation
|
|
|
|
|
|
|
|
|
|
|
|