add creating initial datas as command
This commit is contained in:
parent
40617b7cfe
commit
fd3014afd7
|
@ -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
|
||||
|
|
Reference in New Issue