Store uptime-kuma files in /opt instead of the current user home folder

etec-masterofsynapse 2023-01-03 17:00:08 +01:00 committed by GitHub
parent 561f14c3b1
commit ed2b56b618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

@ -65,6 +65,12 @@ Required Tools:
# Update your npm to the latest version
npm install npm -g
# 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
# Clone the repository
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup