1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-25 17:02:28 +00:00
med/entrypoint.sh

9 lines
183 B
Bash
Raw Normal View History

2020-02-02 17:22:28 +00:00
#!/bin/bash
python manage.py compilemessages
python manage.py makemigrations
2020-02-02 22:13:39 +00:00
sleep 2
2020-02-02 17:22:28 +00:00
python manage.py migrate
# TODO: use uwsgi in production
python manage.py runserver 0.0.0.0:8000