This commit is contained in:
ynerant 2020-02-03 11:50:42 +01:00 committed by Pierre-antoine Comby
parent 3ddc757e25
commit 74189f1f4e
4 changed files with 52 additions and 3 deletions

8
entrypoint.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
python manage.py compilemessages
python manage.py makemigrations
sleep 5
python manage.py migrate
# TODO: use uwsgi in production
python manage.py runserver 0.0.0.0:8000