nalodeni.pirati.cz/src/docker-entrypoint.sh

17 lines
323 B
Bash
Raw Normal View History

2019-04-03 13:55:34 +03:00
#!/bin/bash
trap "echo TRAPed signal" HUP INT QUIT KILL TERM
source /venv/bin/activate
cd /nalodeni/src
python manage.py migrate
python manage.py collectstatic --noinput
2019-04-13 19:58:55 +03:00
python manage.py loaddata nalodeni_interestregion nalodeni_topics nalodeni_skills
2019-04-03 13:55:34 +03:00
PYTHONIOENCODING=utf-8 python manage.py runserver 0.0.0.0:8000