move some configuration into environment vars
This commit is contained in:
parent
9901023c7c
commit
40b63ac200
7 changed files with 51 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue