Compare commits

..

No commits in common. "5a89c7e6e63148e7c988d5b73442b354b5f9c0bf" and "cc0c2033f96ffdda113b2fd5b3e8ca7b62e97b08" have entirely different histories.

2 changed files with 0 additions and 6 deletions

View file

@ -50,6 +50,3 @@ docker_publish:
docker: docker:
$(MAKE) docker_build $(MAKE) docker_build
$(MAKE) docker_publish $(MAKE) docker_publish
docker_down:
docker compose down -v

View file

@ -17,9 +17,6 @@ main() {
# move the migrate thing in docker entrypoint # move the migrate thing in docker entrypoint
# inspired by https://medium.com/analytics-vidhya/django-with-docker-and-docker-compose-python-part-2-8415976470cc # inspired by https://medium.com/analytics-vidhya/django-with-docker-and-docker-compose-python-part-2-8415976470cc
./manage.py migrate ./manage.py migrate
printf "creating initial Datas\n" >&2
./manage.py initial_datas
#./manage.py collectstatic #./manage.py collectstatic
printf "creating superuser \n user: ${DJANGO_SUPERUSER_USERNAME}\n password: ${DJANGO_SUPERUSER_PASSWORD}\n email: ${DJANGO_SUPERUSER_EMAIL}\n" >&2 printf "creating superuser \n user: ${DJANGO_SUPERUSER_USERNAME}\n password: ${DJANGO_SUPERUSER_PASSWORD}\n email: ${DJANGO_SUPERUSER_EMAIL}\n" >&2