fix: processed some pr comments

This commit is contained in:
FlorisLava
2026-02-03 10:49:52 +01:00
parent 69316a347e
commit 4e2237a9f9
3 changed files with 13 additions and 31 deletions

View File

@@ -46,9 +46,6 @@ function update_script() {
cp /opt/wger_env_backup /opt/wger/.env
rm -rf /opt/wger_media_backup /opt/wger_env_backup
set -a
source /opt/wger/.env
set +a
msg_ok "Restored Data"
msg_info "Updating wger"
@@ -56,7 +53,7 @@ function update_script() {
set -a && source /opt/wger/.env && set +a
export DJANGO_SETTINGS_MODULE=settings.main
$STD uv pip install .
$STD uv pip install gunicorn celery django-redis psycopg2-binary
$STD uv pip install gunicorn psycopg2-binary
$STD uv run python manage.py migrate
$STD uv run python manage.py collectstatic --no-input
msg_ok "Updated wger"