You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
357 B
15 lines
357 B
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
python manage.py migrate --noinput --verbosity 0
|
|
python manage.py init_pages
|
|
python manage.py loaddata products.json
|
|
python manage.py import_legacy --first-project 1680 > import.log
|
|
python manage.py loaddata salesreps.json
|
|
|
|
export DJANGO_SUPERUSER_EMAIL=$1
|
|
export DJANGO_SUPERUSER_PASSWORD=$2
|
|
|
|
python manage.py createsuperuser --noinput
|