summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/en/INSTALL.t2t37
1 files changed, 35 insertions, 2 deletions
diff --git a/docs/en/INSTALL.t2t b/docs/en/INSTALL.t2t
index 2d6bb4b..c4e35c5 100644
--- a/docs/en/INSTALL.t2t
+++ b/docs/en/INSTALL.t2t
@@ -31,7 +31,7 @@ Optionaly (but recommanded):
- [tinymce http://tinymce.moxiecode.com/]
-The simpliest way to obtain these packages is to get them from your favorite Linux distribution repositories (for instance python, python-django, python-beautifulsoup, tinymce, apache2, libapache2-mod-python, libgeos-3.2.0, proj, gdal-bin, python-psycopg2, python-imaging, gettext, postgresql-8.4 and postgresql-8.4-postgis packages for Debian Squeeze). If these packages do not exist in your distribution's repository, please refer to the applications' websites.
+The simpliest way to obtain these packages is to get them from your favorite Linux distribution repositories (for instance python, python-django, python-beautifulsoup, tinymce, apache2, libgeos-3.2.0, proj, gdal-bin, python-psycopg2, python-imaging, gettext, postgresql-8.4 and postgresql-8.4-postgis packages for Debian Squeeze). If these packages do not exist in your distribution's repository, please refer to the applications' websites.
+++ Database configuration +++
@@ -158,7 +158,40 @@ Create the appropriate tables (still being in chimère application directory):
You will be prompted for the creation of an administrator account (administration can be found at: http://where_is_chimere/admin).
The database is set, congratulations!
-+++ Apache configuration +++
++++ Webserver configuration +++
+
+++++ Apache configuration with mod_wsgi ++++
+
+Install mod_wsgi for apache
+
+```
+sudo apt-get install libapache2-mod-wsgi
+```
+
+Create and edit a configuration for Chimère.
+
+```
+sudo mkdir /var/local/django/chimere/apache
+sudo cp /var/local/django/chimere/docs/conf/django.wsgi /var/local/django/chimere/apache/django.wsgi
+sudo cp /var/local/django/chimere/docs/conf/apache-wsgi.conf /etc/apache2/sites-available/chimere
+```
+
+Adapt the files django.wsgi (with the correct sys path) and chimere.
+
+To activate the website reload apache.
+
+```
+sudo a2ensite chimere
+sudo /etc/init.d/apache2 reload
+```
+
+++++ Apache configuration with mod_python ++++
+
+Install mod_python for apache
+
+```
+apt-get install libapache2-mod-python
+```
Create and edit a configuration file for Chimère.