move some configuration into environment vars

This commit is contained in:
thricedotted
2020-02-15 13:45:44 -08:00
parent 9901023c7c
commit 40b63ac200
7 changed files with 51 additions and 9 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash
set -e
if [ ! -f .env ]; then
echo "No .env found -- copying .example.env to .env!"
cp .env.example .env
fi
dropdb fedireads
createdb fedireads
python manage.py makemigrations fedireads