mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-23 12:29:16 +02:00
Merge pull request #28 from epsilonpsek/master
Store uptime-kuma files in /opt instead of the current user home folder
commit
36a99e4357
1 changed files with 7 additions and 0 deletions
|
@ -70,6 +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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
@ -100,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
|
||||||
|
|
Loading…
Add table
Reference in a new issue