forked from 0x2620/pandora
first migrate item, annotations to avoid error during new installs
This commit is contained in:
parent
df0b9336b1
commit
b3d1a8d04c
2 changed files with 4 additions and 0 deletions
2
README
2
README
|
@ -95,6 +95,8 @@ Important: "use_your_own" is a password and you have to use the same value here
|
||||||
su pandora
|
su pandora
|
||||||
cd /srv/pandora/pandora
|
cd /srv/pandora/pandora
|
||||||
./manage.py syncdb --noinput
|
./manage.py syncdb --noinput
|
||||||
|
./manage.py migrate item
|
||||||
|
./manage.py migrate annotation
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
./manage.py sqlfindindex
|
./manage.py sqlfindindex
|
||||||
./manage.py sync_itemsort
|
./manage.py sync_itemsort
|
||||||
|
|
|
@ -116,6 +116,8 @@ MANAGE="sudo -H -u pandora python manage.py"
|
||||||
|
|
||||||
cd /srv/pandora/pandora
|
cd /srv/pandora/pandora
|
||||||
$MANAGE syncdb --noinput
|
$MANAGE syncdb --noinput
|
||||||
|
$MANAGE migrate item
|
||||||
|
$MANAGE migrate annotation
|
||||||
$MANAGE migrate
|
$MANAGE migrate
|
||||||
echo "DB_GIN_TRGM = True" >> /srv/pandora/pandora/local_settings.py
|
echo "DB_GIN_TRGM = True" >> /srv/pandora/pandora/local_settings.py
|
||||||
$MANAGE sqlfindindex
|
$MANAGE sqlfindindex
|
||||||
|
|
Loading…
Reference in a new issue