From 527c31a94ecf623c090ef6166f8c22699e5aff9d Mon Sep 17 00:00:00 2001 From: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com> Date: Sat, 20 Sep 2025 18:13:44 +0200 Subject: [PATCH] Enhance warracker.sh to update application Added commands to update the application and install dependencies. --- ct/warracker.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ct/warracker.sh b/ct/warracker.sh index b1f92bd0..c435c60a 100644 --- a/ct/warracker.sh +++ b/ct/warracker.sh @@ -37,11 +37,17 @@ function update_script() { fetch_and_deploy_gh_release "warracker" "sassanix/Warracker" "tarball" "latest" "/opt/warracker" + msg_info "Updating $APP" + cd /opt/warracker/backend + $STD uv venv .venv + $STD source .venv/bin/activate + $STD uv pip install -r requirements.txt + msg_ok "Updated $APP" + msg_info "Starting Services" systemctl start warracker systemctl start nginx msg_ok "Started Services" - msg_ok "Updated Successfully" fi exit