summaryrefslogtreecommitdiff
path: root/docs/en/install.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/install.rst')
-rw-r--r--docs/en/install.rst28
1 files changed, 22 insertions, 6 deletions
diff --git a/docs/en/install.rst b/docs/en/install.rst
index ea27efc..1bb5771 100644
--- a/docs/en/install.rst
+++ b/docs/en/install.rst
@@ -5,7 +5,7 @@ Installation
============
:Author: Étienne Loks
-:date: 2012-11-28
+:date: 2013-02-01
:Copyright: CC-BY 3.0
This document presents the installation of Chimère.
@@ -141,11 +141,14 @@ Another solution is to get it from the Git repository::
Creating a custom project template
**********************************
-There, a default project is provided (*example_project*). Copy and modify
-it (or get another project based on Chimère)::
+A default project can be found on `Gitorious
+<https://gitorious.org/chimere-example-project/chimere-example-project>`_. Get
+it and start a new project with it (or get another project based on Chimère)::
cd $INSTALL_PATH/chimere
- cp -ra example_project mychimere_project
+ git clone git://gitorious.org/chimere-example-project/chimere-example-project.git
+ django-admin startproject --template=chimere-example-project mychimere_project
+ rm -rf chimere-example-project
Your project name is used for the name of the Python package of your template.
As a Python package it should follow the rule of Python variable name:
@@ -244,6 +247,10 @@ to create tables managed with Django-South::
The database is set, congratulations!
+You can load the default group permissions (it is at least a good start)::
+
+ ./manage.py loaddata ../chimere/fixtures/auth_group.json
+
If you want to populate your installation with default data (don't do this on
an already populated instance!)::
@@ -272,8 +279,8 @@ Create and edit a configuration for Chimère::
mkdir /var/log/apache2/chimere/
chown www-data /var/log/apache2/chimere/
-Adapt the files *mydjango.wsgi* (with the correct sys path and the correct
-module) and Apache *chimere* (with the correct servername and correct paths).
+Adapt the files *mydjango.wsgi* (with the correct module) and Apache
+*chimere* (with the correct servername and correct paths).
To activate the website, reload apache::
@@ -288,3 +295,12 @@ line::
. /etc/default/locale
+Configuring the Sites framework
+*******************************
+
+*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.
+