From 0e82caee0b427dcb957ff78a6c2779e7d9e27dde Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 14 Sep 2019 00:06:50 -0400 Subject: Fully automated setup and forward port 36200 --- docker-scripts/setup.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'docker-scripts/setup.sh') diff --git a/docker-scripts/setup.sh b/docker-scripts/setup.sh index e036aa8..6e4ff18 100755 --- a/docker-scripts/setup.sh +++ b/docker-scripts/setup.sh @@ -11,16 +11,11 @@ docker run --rm -it \ cd /app; export CUSTOM_CONFIG=config-compose.yml echo "create database dispatch;" | psql -U postgres -h postgres - python3 ./manage.py collectstatic + python3 ./manage.py collectstatic --no-input python3 ./manage.py migrate - python3 ./manage.py createsuperuser - - v="" - while ! [ "$v" = "done" ] ; do - printf "Please login to the system and fill out the form," - printf "then come back, type \"done\" to continue:\t" - read v; - done + # python3 ./manage.py createsuperuser + python3 ./manage.py setup + python3 ./manage.py setup_identity python3 ./manage.py insert_fake_data --companies 10 --users 10 \ --loads 400 --start-date='"'"'-16w'"'"' --end-date='"'"'+16w'"'"' \ -- cgit v1.2.3