mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-20 02:25:56 +00:00
Updated 🆙 How to Update (markdown)
parent
c824a9ad4b
commit
b8c30ddd8e
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue