first migrate item, annotations to avoid error during new installs

This commit is contained in:
j 2015-01-19 11:56:59 +01:00
parent df0b9336b1
commit b3d1a8d04c
2 changed files with 4 additions and 0 deletions

2
README
View file

@ -95,6 +95,8 @@ Important: "use_your_own" is a password and you have to use the same value here
su pandora
cd /srv/pandora/pandora
./manage.py syncdb --noinput
./manage.py migrate item
./manage.py migrate annotation
./manage.py migrate
./manage.py sqlfindindex
./manage.py sync_itemsort

View file

@ -116,6 +116,8 @@ MANAGE="sudo -H -u pandora python manage.py"
cd /srv/pandora/pandora
$MANAGE syncdb --noinput
$MANAGE migrate item
$MANAGE migrate annotation
$MANAGE migrate
echo "DB_GIN_TRGM = True" >> /srv/pandora/pandora/local_settings.py
$MANAGE sqlfindindex