Files
OpenBench/cleanup.sh
T

12 lines
249 B
Bash
Executable File

#!/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