Move /opt instructions to Useful Commands

etec-masterofsynapse 2023-05-11 16:42:42 +02:00
parent 2df0af6c00
commit 20d5ad93d1
1 changed files with 6 additions and 5 deletions

@ -70,12 +70,8 @@ Required Tools:
# Update your npm to the latest version # Update your npm to the latest version
npm install npm -g 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 # 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 git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma cd uptime-kuma
npm run setup npm run setup
@ -106,6 +102,11 @@ pm2 restart uptime-kuma
# Run at startup # Run at startup
pm2 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 ### 🪟 Windows Portable