diff options
Diffstat (limited to 'docs/en/upgrade.rst')
-rw-r--r-- | docs/en/upgrade.rst | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/docs/en/upgrade.rst b/docs/en/upgrade.rst index ef9d0d1..6dce286 100644 --- a/docs/en/upgrade.rst +++ b/docs/en/upgrade.rst @@ -5,7 +5,7 @@ Upgrade ======= :Author: Étienne Loks -:date: 2012-10-08 +:date: 2013-02-01 :Copyright: CC-BY 3.0 This document presents the upgrade of Chimère. @@ -198,6 +198,12 @@ Move old static files to the new static directory: rm -rf $CHIMERE_PATH/chimere/static/icons rm -rf $CHIMERE_PATH/chimere/static/upload +Update permissions for media directory: + +.. code-block:: bash + + chown www-data -R $CHIMERE_APP_PATH/media/ + Webserver configuration ....................... @@ -295,6 +301,7 @@ Version 1.2 -> 2.0 -> master cd $CHIMERE_PATH/chimere django-admin compilemessages + Forcing the refresh of visitor's web browser cache -------------------------------------------------- @@ -307,8 +314,20 @@ that edit your local_settings.py and change:: to:: - STATIC_URL = '/static/v2.0.0/' + STATIC_URL = '/static-v2.0.0/' Then change the webserver directive to point to your new path. Restart the web server to apply this changes. +Configuring the Sites framework +------------------------------- + +Version 1.2 -> 2.0 +****************** + +*Sites* framework allow you to serve the same content on different domains. +Most of you will probably use only one domain but this unique domain has to +be configured. This is done in the web administration interface in *Sites > Sites*. +You only need to change *example.com* by your domain name. If you forget to +do that, some functionalities such as RSS feeds will not work properly. + |