Files
OpenBench/cleanup.sh
T
AndyGrant 9dbe572d1b Confirm deletion of the database; Remove winpty usage
Windows users will have to run createsuperuser on their own
2018-08-19 13:24:59 -04:00

12 lines
249 B
Bash

#!/bin/sh
rm -i db.sqlite3
rm -r OpenBench/migrations/*
rm -r OpenBench/__pycache__/*
rm -r OpenSite/__pycache__/*
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py migrate --run-syncdb
python3 manage.py createsuperuser