mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 22:49:21 +08:00
Store uptime-kuma files in /opt instead of the current user home folder
committed by
GitHub
parent
561f14c3b1
commit
ed2b56b618
@@ -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
|
||||
|
Reference in New Issue
Block a user