mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 03:40:03 +00:00
fix(babybuddy): set DJANGO_SETTINGS_MODULE before migrate in update (#13836)
This commit is contained in:
parent
9c604f624c
commit
91f5c3dfb0
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ function update_script() {
|
|||
mv /tmp/production.py.bak /opt/babybuddy/babybuddy/settings/production.py
|
||||
source .venv/bin/activate
|
||||
$STD uv pip install -r requirements.txt
|
||||
export DJANGO_SETTINGS_MODULE=babybuddy.settings.production
|
||||
$STD python manage.py migrate
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue