made temp fix

This commit is contained in:
Walter 2025-02-21 02:06:01 +01:00
parent 6b9db73755
commit 1850ce0082
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,6 @@
#!/bin/sh
python wait_for_db.py
/bin/sh fix_permissions.sh
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic --noinput

View File

@ -1,3 +0,0 @@
#!/bin/sh
chown app:app $APP_HOME/media
chown app:app $APP_HOME/static

5
fix_permissions.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# 100 = user in bloonsworld
# 33 = www-data in nginx
chown 100:33 .data/media
chown 100:33 .data/static