Merge pull request #28 from epsilonpsek/master

Store uptime-kuma files in /opt instead of the current user home folder
Louis Lam 2023-05-11 23:31:11 +08:00 committed by GitHub
commit 36a99e4357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

@ -70,6 +70,8 @@ Required Tools:
# Update your npm to the latest version
npm install npm -g
# Clone the repository
# If you don't want to install Uptime Kuma into your homefolder but instead into a more permanent location, follow the "Create app directory in /opt" steps under **Useful Commands** and then continue here.
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup
@ -100,6 +102,11 @@ pm2 restart uptime-kuma
# Run at startup
pm2 startup
# Create app directory in /opt for home-independent app storage
cd /opt
sudo mkdir uptime-kuma
sudo chown -R {username}:{username} uptime-kuma # Replace {username} with the username you are currently running the commands with
```
### 🪟 Windows Portable