From fd3014afd7b78cc4bf92b7fb5af8091b094c4236 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 3 Nov 2023 13:28:17 +0100 Subject: [PATCH] add creating initial datas as command --- docker/idhub.entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index f1f05fe..a2cbc22 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -19,7 +19,7 @@ main() { ./manage.py migrate printf "creating initial Datas\n" >&2 - python initial_datas.py + ./manage.py initial_datas #./manage.py collectstatic printf "creating superuser \n user: ${DJANGO_SUPERUSER_USERNAME}\n password: ${DJANGO_SUPERUSER_PASSWORD}\n email: ${DJANGO_SUPERUSER_EMAIL}\n" >&2