From e4e54df71417f5a10e8d77834da8f78a8ce0d4fb Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 14 Nov 2025 13:40:17 +0100 Subject: [PATCH] Refactor domain-locker installation process --- install/domain-locker-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/domain-locker-install.sh b/install/domain-locker-install.sh index 3dbe9976c..f0c1dcee8 100644 --- a/install/domain-locker-install.sh +++ b/install/domain-locker-install.sh @@ -17,14 +17,10 @@ PG_VERSION="17" setup_postgresql PG_DB_NAME="domainlocker" PG_DB_USER="domainlocker" setup_postgresql_db NODE_VERSION="22" setup_nodejs - -$STD apt install -y git -git clone https://github.com/Lissy93/domain-locker.git /opt/domain-locker -# fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker" +fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker" msg_info "Installing Modules (patience)" cd /opt/domain-locker -# $STD npm install --legacy-peer-deps $STD npm install msg_ok "Installed Modules" @@ -48,6 +44,10 @@ set +a npm run build msg_info "Built Domain-Locker" +msg_info "Building Database schema" +bash /opt/domain-locker/db/setup-postgres.sh +msg_ok "Built Database schema" + msg_info "Creating Service" cat </etc/systemd/system/domain-locker.service [Unit]