Commit b7592f5c authored by Michal Čihař's avatar Michal Čihař

Improve upgrading instructions

parent b61df7e7
...@@ -140,6 +140,39 @@ The appliance is built using SUSE Studio and is based on openSUSE 12.1. ...@@ -140,6 +140,39 @@ The appliance is built using SUSE Studio and is based on openSUSE 12.1.
Upgrading Upgrading
--------- ---------
.. _generic-upgrade-instructions:
Generic upgrade instructions
++++++++++++++++++++++++++++
.. versionchanged:: 1.2
Since version 1.2 the migration is done using South module, to upgrade to 1.2,
please see :ref:`version-specific-instructions`.
To upgrade database structure, you should run following commands:
.. code-block:: sh
./manage.py syncdb
./manage.py migrate
To upgrade default set of privileges definitions (optional), run:
.. code-block:: sh
./manage.py setupgroups
To upgrade default set of language definitions (optional), run:
.. code-block:: sh
./manage.py setuplang
.. _version-specific-instructions:
Version specific instructions
+++++++++++++++++++++++++++++
On upgrade to version 0.6 you should run :program:`./manage.py syncdb` and On upgrade to version 0.6 you should run :program:`./manage.py syncdb` and
:program:`./manage.py setupgroups --move` to setup access control as described :program:`./manage.py setupgroups --move` to setup access control as described
in installation section. in installation section.
...@@ -176,11 +209,7 @@ to run following commands: ...@@ -176,11 +209,7 @@ to run following commands:
./manage.py migrate weblate.accounts 0001 --fake ./manage.py migrate weblate.accounts 0001 --fake
./manage.py migrate weblate.lang 0001 --fake ./manage.py migrate weblate.lang 0001 --fake
The rest of upgrade to 1.2 (and all future versions), is just matter of: Once you have done this, you can use :ref:`generic-upgrade-instructions`.
.. code-block:: sh
./manage.py migrate
Migrating from Pootle Migrating from Pootle
--------------------- ---------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment