Update wger install and update scripts for pip usage
Replaces 'uv sync --no-dev' and editable pip install with 'uv venv' and standard pip install in both wger.sh and wger-install.sh. This streamlines the installation and update process for wger.
This commit is contained in:
parent
3d4a95cbd7
commit
249113c2b9
@ -51,8 +51,7 @@ function update_script() {
|
||||
|
||||
msg_info "Updating wger"
|
||||
cd /opt/wger
|
||||
$STD uv sync --no-dev
|
||||
$STD uv pip install -e .
|
||||
$STD uv pip install .
|
||||
export DJANGO_SETTINGS_MODULE=settings.main
|
||||
export PYTHONPATH=/opt/wger
|
||||
$STD uv run python manage.py migrate
|
||||
|
||||
@ -31,8 +31,8 @@ chown :www-data -R /opt/wger/db
|
||||
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 .
|
||||
$STD uv venv
|
||||
$STD uv pip install .
|
||||
mkdir -p /opt/wger/settings
|
||||
cat <<EOF >/opt/wger/settings/main.py
|
||||
from wger.settings_global import *
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user