Update README.md

This commit is contained in:
Louis Lam 2021-08-30 21:56:33 +08:00 committed by GitHub
parent 3ee0addb1f
commit 21db31bb30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 8 deletions

View File

@ -19,14 +19,6 @@ It is a self-hosted monitoring tool like "Uptime Robot".
## 🔧 How to Install
### 🚀 Installer via CLI
Interactive CLI installer, supports Docker or without Docker.
```bash
curl -o kuma_install.sh http://git.kuma.pet/install.sh && sudo bash kuma_install.sh
```
### 🐳 Docker
```bash
@ -36,6 +28,25 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti
Browse to http://localhost:3001 after started.
### 💪🏻 Without Docker
Required Tools: Node.js >= 14, git and pm2.
```bash
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup
# Option 1. Try it
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 server/server.js --name uptime-kuma
```
Browse to http://localhost:3001 after started.
### Advanced Installation
If you need more options or need to browse via a reserve proxy, please read: