mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-06-30 02:57:38 +00:00
Update wger-install.sh
This commit is contained in:
@ -38,12 +38,12 @@ curl -fsSL "https://github.com/wger-project/wger/archive/refs/tags/$RELEASE.tar.
|
||||
tar xzf $RELEASE.tar.gz
|
||||
mv wger-$RELEASE /home/wger/src
|
||||
cd /home/wger/src
|
||||
$STD /home/wger/.venv/bin/wger create-settings --database-path /home/wger/db/database.sqlite
|
||||
$STD uv venv /home/wger/.venv
|
||||
$STD /home/wger/.venv/bin/python -m ensurepip --upgrade
|
||||
$STD /home/wger/.venv/bin/python -m pip install --upgrade pip
|
||||
$STD /home/wger/.venv/bin/python -m pip install -r requirements_prod.txt
|
||||
$STD /home/wger/.venv/bin/python -m pip install -e .
|
||||
$STD /home/wger/.venv/bin/wger create-settings --database-path /home/wger/db/database.sqlite
|
||||
sed -i "s#home/wger/src/media#home/wger/media#g" /home/wger/src/settings.py
|
||||
sed -i "/MEDIA_ROOT = '\/home\/wger\/media'/a STATIC_ROOT = '/home/wger/static'" /home/wger/src/settings.py
|
||||
$STD /home/wger/.venv/bin/wger bootstrap
|
||||
|
Reference in New Issue
Block a user