nk20/entrypoint.sh

9 lines
183 B
Bash
Raw Normal View History

2020-02-03 10:50:42 +00:00
#!/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