diff options
Diffstat (limited to 'docs/upgrade.rst')
-rw-r--r-- | docs/upgrade.rst | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/docs/upgrade.rst b/docs/upgrade.rst index 32b6e43..021317b 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -232,13 +232,11 @@ The gdal binding for python is necessary to run the upgrade scripts (available in the python-gdal package in Debian). If you run the migration scripts in a production environnement stop the old -instance of Chimère before executing the migration script. Perhaps prepare the -web server to point to the new installation before doing the database upgrade -(cf. next paragraph). +instance of Chimère before executing the migration script. In *settings.py* verify that **chimere.scripts** is in the *INSTALLED_APPS*. -After that in the chimere directory just execute the script. +After that in the Chimère directory just execute the script. .. code-block:: bash @@ -266,8 +264,8 @@ values of an old *Property model* to this new field, a script is available. ../chimere/scripts/migrate_properties.py # follow the instructions -From 2.0 to master -****************** +Version 2.0 -> master +********************* .. code-block:: bash @@ -297,7 +295,7 @@ Version 1.2 -> 2.0 -> master Forcing the refresh of visitor's web browser cache -------------------------------------------------- -If major changes in the javascript has been done between versions, many of your +Major changes in the javascript has been done between versions, many of your users could experience problems. There are many tricks to force the refresh of their cache. One of them is to change the location of statics files. To do that edit your local_settings.py and change:: @@ -308,12 +306,6 @@ to:: STATIC_URL = '/static/v2.0.0/' -Then in the static directory: - -.. code-block:: bash - - cd $CHIMERE_APP_PATH/static - ln -s `pwd` v2.0.0 - +Then change the webserver directive to point to your new path. Restart the web server to apply this changes. |