on_docker_init.sh 317 Bytes
Newer Older
1
2
3
# This commands will be run inside of the container web
# If ANY of this commands fails (return != 0) the container will be down
bash ./docker_scripts/wait_for_postgres.sh
4
5
6
7
cd src
python manage.py makemigrations degree admission educator uploads course
python manage.py migrate
python manage.py runserver 0.0.0.0:8000