15 lines
304 B
Bash
Executable File
15 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# For sqlite
|
|
rm -f database.sqlite
|
|
|
|
# For postgresql
|
|
dropdb greenmine
|
|
createdb greenmine
|
|
|
|
python manage.py syncdb --migrate --noinput --traceback
|
|
python manage.py loaddata initial_user --traceback
|
|
python manage.py sample_data --traceback
|
|
python manage.py createinitialrevisions --traceback
|
|
|