Removes outdated script

This commit is contained in:
Mouse Reeve 2020-12-12 20:26:15 -08:00
parent 007ccb22fd
commit faa21cf2af

View file

@ -1,25 +0,0 @@
#!/bin/bash
set -e
if [ ! -f .env ]; then
echo "No .env found -- copying .example.env to .env!"
cp .env.example .env
fi
source .env
if [ $BOOKWYRM_DATABASE_BACKEND = 'sqlite' ]; then
if [ -f fedireads.db ]; then
rm fedireads.db
fi
else
# assume postgres
dropdb fedireads
createdb fedireads
fi
python manage.py makemigrations fedireads
python manage.py migrate
python manage.py initdb
python manage.py runserver