mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 06:19:20 +08:00
Updated 🆙 How to Update (markdown)
@@ -19,10 +19,16 @@ PS: For every new release, it takes some time to build the docker image, please
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd <uptime-kuma-directory>
|
cd <uptime-kuma-directory>
|
||||||
|
|
||||||
|
# Update from git
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git checkout 1.8.0 --force
|
git checkout 1.8.0 --force
|
||||||
|
|
||||||
|
# Install dependenies and prebuilt
|
||||||
npm ci --production
|
npm ci --production
|
||||||
npm run download-dist
|
npm run download-dist
|
||||||
|
|
||||||
|
# Restart
|
||||||
pm2 restart uptime-kuma
|
pm2 restart uptime-kuma
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user