39 lines
588 B
Bash
Executable File
39 lines
588 B
Bash
Executable File
#!/bin/bash
|
|
|
|
##
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
##
|
|
|
|
reset
|
|
|
|
clear
|
|
|
|
##
|
|
|
|
#python3 manage.py dumpdata
|
|
## This will IRREVERSIBLY DESTROY all data currently in the "maverickdb" database, and return each table to an empty state.
|
|
|
|
### python3 manage.py flush
|
|
|
|
### python3 manage.py sqlflush
|
|
|
|
#python3 manage.py sqlmigrate
|
|
|
|
##python3 manage.py sqlsequencereset
|
|
|
|
#python3 manage.py generateschema
|
|
|
|
python3 manage.py makemigrations
|
|
|
|
python3 manage.py migrate
|
|
|
|
#python3 manage.py squashmigrations bikes
|
|
|
|
#python3 manage.py optimizemigration
|
|
|
|
python3 manage.py runserver 0.0.0.0:8888
|