Revert "Don't populate inventory"

This reverts commit 0d06fc08eb.
This commit is contained in:
Sachi King 2017-09-13 17:11:56 +10:00
parent 008c33a221
commit 3c2c2543fd

View file

@ -9,17 +9,14 @@ docker container create --env-file docker/laptop-mode-env -p 28000:8000 --name s
docker container start symposion docker container start symposion
docker exec symposion ./manage.py migrate docker exec symposion ./manage.py migrate
docker exec symposion ./manage.py loaddata ./fixtures/*.json docker exec symposion ./manage.py loaddata ./fixtures/*.json
docker exec symposion ./manage.py populate_inventory
docker exec symposion ./manage.py create_review_permissions docker exec symposion ./manage.py create_review_permissions
docker exec -it symposion ./manage.py createsuperuser --username root --email root@example.com docker exec -it symposion ./manage.py createsuperuser --username root --email root@example.com
## The following sets up everything required for rego - tickets and
## t-shirts and stuff. At this stage, it's not something we want.
#docker exec symposion ./manage.py populate_inventory
set +x set +x
echo "Now you can log into http://localhost:28000/admin" echo "Now you can log into http://localhost:28000/admin"
echo "Username: root Password: the one you just typed twice" echo "Username: root Password: the one you just typed twice"
echo "If you need to test as a non-admin user, create one at" echo "If you need to test as a non-admin user, create one at"
echo "http://localhost:28000/admin/auth/user/add/ - then log out" echo "http://localhost:28000/admin/auth/user/add/ - then log out"
echo "and log back in at http://localhost:28000" echo "and log back in at http://localhost:28000"