2021-03-22 17:08:17 +03:00

10 lines
194 B
Bash

cd /access_controller/
if [ ! -f "/access_controller/db/db.sqlite3" ]; then
python manage.py migrate
fi
python manage.py collectstatic --noinput
python manage.py runserver 0.0.0.0:8000