1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-01-12 23:02:28 +00:00

Fix entrypoint for Django 2.2

This commit is contained in:
Alexandre Iooss 2020-02-11 21:39:08 +01:00
parent 1bf9668315
commit 98b38cd7a4

View File

@ -2,7 +2,9 @@
# This will launch the Django project as a fastcgi socket
# then Apache or NGINX will be able to use that socket
python manage.py compilemessages -i ".tox" -i "venv"
# Option "-i" will be only available in Django 3.0+, but it does not support Python 3.5
#python manage.py compilemessages -i ".tox" -i "venv"
python manage.py compilemessages
python manage.py makemigrations
# Wait for database