add creating initial datas as command

This commit is contained in:
Cayo Puigdefabregas 2023-11-03 13:28:17 +01:00
parent 40617b7cfe
commit fd3014afd7

View file

@ -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