From ed2b56b6189bda589a2f4025c09be0c17fbf067b Mon Sep 17 00:00:00 2001 From: etec-masterofsynapse <59238423+etec-masterofsynapse@users.noreply.github.com> Date: Tue, 3 Jan 2023 17:00:08 +0100 Subject: [PATCH 1/2] Store uptime-kuma files in /opt instead of the current user home folder --- 🔧-How-to-Install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/🔧-How-to-Install.md b/🔧-How-to-Install.md index e6dbf0d..a2a9ed4 100644 --- a/🔧-How-to-Install.md +++ b/🔧-How-to-Install.md @@ -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 From 20d5ad93d15491deabbeab08b8f34c565b557bf0 Mon Sep 17 00:00:00 2001 From: etec-masterofsynapse <59238423+etec-masterofsynapse@users.noreply.github.com> Date: Thu, 11 May 2023 16:42:42 +0200 Subject: [PATCH 2/2] Move /opt instructions to Useful Commands --- 🔧-How-to-Install.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/🔧-How-to-Install.md b/🔧-How-to-Install.md index 7fccabb..5928c9a 100644 --- a/🔧-How-to-Install.md +++ b/🔧-How-to-Install.md @@ -70,12 +70,8 @@ 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 +# 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 @@ -106,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