Smallfix: Added some echoes and a command to remove the search index
parent
32a8b3d805
commit
775cfb2933
|
@ -1,12 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
# For postgresql
|
||||
echo "-> Remove greenmine DB"
|
||||
dropdb greenmine
|
||||
echo "-> Create greenmine DB"
|
||||
createdb greenmine
|
||||
|
||||
echo "-> Remove the search index"
|
||||
rm -rf greenmine/search/index/*
|
||||
|
||||
|
||||
echo "-> Run syncdb"
|
||||
python manage.py syncdb --migrate --noinput --traceback
|
||||
echo "-> Load initial user"
|
||||
python manage.py loaddata initial_user --traceback
|
||||
echo "-> Load initial roles"
|
||||
python manage.py loaddata initial_role --traceback
|
||||
echo "-> Generate sample data"
|
||||
python manage.py sample_data --traceback
|
||||
echo "-> Generate initial versions of objects"
|
||||
python manage.py createinitialrevisions --traceback
|
||||
|
||||
|
|
Loading…
Reference in New Issue