Files
@ 2465f2645e2e
Branch filter:
Location: symposion_app/make_dev_container.sh - annotation
2465f2645e2e
1.2 KiB
text/x-sh
urlize abstracts
I've looked through the database and I can't find any accepted
proposals that actually contain anything to linkify - but I've had
several requests from people that I think are reasonable, things like
being able to link to their project (we ask them to provide a project
url but we don't use that link)
This seems like a reasonably fast way to let those people add a
link. We still have to manually accept changes to their proposal so we
have a chance to look at the content of the url if we want.
The urlize filter adds rel=nofollow to the link automatically.
I've looked through the database and I can't find any accepted
proposals that actually contain anything to linkify - but I've had
several requests from people that I think are reasonable, things like
being able to link to their project (we ask them to provide a project
url but we don't use that link)
This seems like a reasonably fast way to let those people add a
link. We still have to manually accept changes to their proposal so we
have a chance to look at the content of the url if we want.
The urlize filter adds rel=nofollow to the link automatically.
fb5d0b894160 fb5d0b894160 fb5d0b894160 fb5d0b894160 af5fec11ff33 fb5d0b894160 fb5d0b894160 af5fec11ff33 fb5d0b894160 fb5d0b894160 fb5d0b894160 3c2c2543fd99 fb5d0b894160 d1f5acbf64cb 79310913ad4d 79310913ad4d ed2753d28470 6a479055a029 6a479055a029 6a479055a029 6a479055a029 fb5d0b894160 fe8da10c2211 fe8da10c2211 fe8da10c2211 fe8da10c2211 fe8da10c2211 fe8da10c2211 3c2c2543fd99 | #!/bin/bash -x
CONTAINER_NAME=${1:-symposion_app}
docker image build -f docker/Dockerfile -t ${CONTAINER_NAME} --target symposion_dev .
docker container stop symposion
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 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-tools ]; then
pushd ./symposion-tools
./load_chunks_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"
echo "http://localhost:28000/admin/auth/user/add/ - then log out"
echo "and log back in at http://localhost:28000"
|