Commit 2ef4beba authored by bhm15's avatar bhm15
Browse files

adega#121: Fix docker bugs

parent a1494df5
# 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/
python ./src/ migrate
python ./src/ runserver
cd src
python makemigrations degree admission educator uploads
python migrate
python runserver
......@@ -65,6 +65,6 @@ args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
@echo $(call args,"")
docker exec -it adega_web_1 python3 ./src/ $(call args,"")
docker exec -it adega_web_1 bash -c "cd src; python3 $(call args,'')"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment