Changeset - d1f5acbf64cb
[Not reviewed]
0 2 0
James Polley - 7 years ago 2017-09-22 10:28:27
jp@jamezpolley.com
Fix miniconf fixture dates

Some proposalsections were still set to open immediately. Change that
to 1 Nov.
2 files changed with 6 insertions and 5 deletions:
0 comments (0 inline, 0 general)
fixtures/miniconf-fixtures/symposion_proposals.json
Show inline comments
 
[
 
     {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-30T12:59:00Z",
 
            "published": false,
 
            "section": 3,
 
            "start": "2017-09-21T14:01:00Z"
 
            "start": "2017-11-01T14:01:00Z"
 
        },
 
        "model": "symposion_proposals.proposalsection",
 
        "pk": 3
 
    },
 
    {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-30T12:59:00Z",
 
            "published": false,
 
            "section": 4,
 
            "start": "2017-09-21T14:01:00Z"
 
            "start": "2017-11-01T14:01:00Z"
 
        },
 
        "model": "symposion_proposals.proposalsection",
 
        "pk": 4
 
    },
 
    {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-30T12:59:00Z",
 
            "published": false,
 
            "section": 5,
 
            "start": "2017-09-21T14:01:00Z"
 
            "start": "2017-11-01T14:01:00Z"
 
        },
 
        "model": "symposion_proposals.proposalsection",
 
        "pk": 5
 
    },
 
    {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-30T12:59:00Z",
 
            "published": false,
 
            "section": 6,
 
            "start": "2017-09-21T14:01:00Z"
 
            "start": "2017-11-01T14:01:00Z"
 
        },
 
        "model": "symposion_proposals.proposalsection",
 
        "pk": 6
 
    },
 
    {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-29T13:01:00Z",
 
            "published": false,
 
            "section": 7,
 
            "start": "2017-09-21T14:01:00Z"
 
            "start": "2017-11-01T14:01:00Z"
 
        },
 
        "model": "symposion_proposals.proposalsection",
 
        "pk": 7
 
    },
 
    {
 
        "fields": {
 
            "closed": false,
 
            "end": "2017-11-29T13:01:00Z",
 
            "published": false,
 
            "section": 8,
 
            "start": "2017-11-01T14:01:00Z"
 
        },
make_dev_container.sh
Show inline comments
...
 
@@ -2,24 +2,25 @@
 

	
 
CONTAINER_NAME=${1:-symposion_app}
 

	
 
docker image build -f docker/Dockerfile -t ${CONTAINER_NAME} .
 
docker container stop symposion
 
docker container rm symposion
 
docker container create --env-file docker/laptop-mode-env -p 28000:8000 --name symposion ${CONTAINER_NAME}
 
docker container start symposion
 
docker exec symposion ./manage.py migrate
 
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 loaddata ./fixtures/miniconf-fixtures/*.json
 
if [ -e ./symposion-fixtures ]; then
 
    pushd ./symposion-fixtures
 
    ./load_data_local.sh
 
    popd
 
else
 
    docker exec -it symposion ./manage.py createsuperuser --username root --email root@example.com
 
fi
 

	
 
set +x
 
echo "Now you can log into http://localhost:28000/admin"
 
echo "Username: root      Password: the one you just typed twice"
 
echo "If you need to test as a non-admin user, create one at"
0 comments (0 inline, 0 general)