mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00: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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue