add pip install

This commit is contained in:
CanbiZ (MickLesk) 2026-01-22 15:43:28 +01:00
parent a58dfb0993
commit a7e84f87d5
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function update_script() {
msg_info "Updating wger"
cd /opt/wger
$STD uv sync --no-dev
$STD uv pip install -e .
export DJANGO_SETTINGS_MODULE=settings.main
export PYTHONPATH=/opt/wger
$STD uv run python manage.py migrate

View File

@ -32,6 +32,7 @@ chmod g+w /opt/wger/db /opt/wger/db/database.sqlite
chmod o+w /opt/wger/media
cd /opt/wger
$STD uv sync --no-dev
$STD uv pip install -e .
mkdir -p /opt/wger/settings
cat <<EOF >/opt/wger/settings/main.py
from wger.settings_global import *