Change dev container build to load only the initial conference state
This commit is contained in:
parent
34c7beec35
commit
026199faf3
1 changed files with 5 additions and 4 deletions
|
@ -8,13 +8,14 @@ docker container rm symposion
|
||||||
docker container create --env-file docker/laptop-mode-env -p 28000:8000 -v $(pwd):/app/symposion_app --name symposion ${CONTAINER_NAME}
|
docker container create --env-file docker/laptop-mode-env -p 28000:8000 -v $(pwd):/app/symposion_app --name symposion ${CONTAINER_NAME}
|
||||||
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/{conference,sites,sitetree,proposal_base}.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 symposion ./manage.py loaddata ./fixtures/miniconf-fixtures/*.json
|
#docker exec symposion ./manage.py populate_inventory
|
||||||
|
#docker exec symposion ./manage.py loaddata ./fixtures/miniconf-fixtures/*.json
|
||||||
if [ -e ./symposion-tools ]; then
|
if [ -e ./symposion-tools ]; then
|
||||||
pushd ./symposion-tools
|
pushd ./symposion-tools
|
||||||
./load_chunks_local.sh
|
./fixture_to_docker.sh fixtures/dev_dummy_superuser.json
|
||||||
|
./fixture_to_docker.sh fixtures/????_*.json
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue