diff options
Diffstat (limited to 'docs/_build/html/install.html')
| -rw-r--r-- | docs/_build/html/install.html | 77 | 
1 files changed, 37 insertions, 40 deletions
diff --git a/docs/_build/html/install.html b/docs/_build/html/install.html index 2c0ea7f..3121524 100644 --- a/docs/_build/html/install.html +++ b/docs/_build/html/install.html @@ -3,16 +3,13 @@  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -  <html xmlns="http://www.w3.org/1999/xhtml">    <head>      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -    <title>Installation — Chimère 2.0 documentation</title> -     +    <title>Installation — Chimère v2.0 documentation</title>      <link rel="stylesheet" href="_static/default.css" type="text/css" />      <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> -          <script type="text/javascript">        var DOCUMENTATION_OPTIONS = {          URL_ROOT:    '', @@ -25,7 +22,7 @@      <script type="text/javascript" src="_static/jquery.js"></script>      <script type="text/javascript" src="_static/underscore.js"></script>      <script type="text/javascript" src="_static/doctools.js"></script> -    <link rel="top" title="Chimère 2.0 documentation" href="index.html" /> +    <link rel="top" title="Chimère v2.0 documentation" href="index.html" />      <link rel="next" title="Upgrade" href="upgrade.html" />      <link rel="prev" title="Welcome to Chimère’s documentation!" href="index.html" />     </head> @@ -42,7 +39,7 @@          <li class="right" >            <a href="index.html" title="Welcome to Chimère’s documentation!"               accesskey="P">previous</a> |</li> -        <li><a href="index.html">Chimère 2.0 documentation</a> »</li>  +        <li><a href="index.html">Chimère v2.0 documentation</a> »</li>         </ul>      </div>   @@ -57,16 +54,16 @@  <col class="field-name" />  <col class="field-body" />  <tbody valign="top"> -<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body">Étienne Loks</td> +<tr class="field"><th class="field-name">Author:</th><td class="field-body">Étienne Loks</td>  </tr> -<tr class="field-even field"><th class="field-name">date:</th><td class="field-body">2012-10-08</td> +<tr class="field"><th class="field-name">date:</th><td class="field-body">2012-10-08</td>  </tr> -<tr class="field-odd field"><th class="field-name">Copyright:</th><td class="field-body">CC-BY 3.0</td> +<tr class="field"><th class="field-name">Copyright:</th><td class="field-body">CC-BY 3.0</td>  </tr>  </tbody>  </table> -<p>This documents presents the installation of Chimère. -The version has been updated for version 2.0.0.</p> +<p>This document presents the installation of Chimère. +It has been updated for version 2.0.0.</p>  <div class="section" id="prerequisites">  <h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this headline">¶</a></h2>  <blockquote> @@ -83,7 +80,7 @@ The version has been updated for version 2.0.0.</p>  <li><a class="reference external" href="http://www.crummy.com/software/BeautifulSoup/">Beautiful Soup</a></li>  <li>python-simplejson</li>  <li>python-gdal</li> -<li><a href="#id1"><span class="problematic" id="id2">`</span></a>unidecode <<a class="reference external" href="http://pypi.python.org/pypi/Unidecode">http://pypi.python.org/pypi/Unidecode</a>>_</li> +<li><a class="reference external" href="http://pypi.python.org/pypi/Unidecode">unidecode</a></li>  <li><a class="reference external" href="http://lxml.de/">lxml</a></li>  <li><a class="reference external" href="http://jquery.com/">jquery</a> version 1.7.1 or better</li>  <li><a class="reference external" href="http://jqueryui.com/">jquery-ui</a></li> @@ -96,7 +93,7 @@ The version has been updated for version 2.0.0.</p>  <div><ul class="simple">  <li><a class="reference external" href="http://trac.osgeo.org/geos/">geos</a> 3.0.x</li>  <li><a class="reference external" href="http://trac.osgeo.org/proj/">proj.4</a> 4.4 to 4.6</li> -<li><a class="reference external" href="http://postgis.refractions.net/">posgis</a> versions 1.2.1 or 1.3.x</li> +<li><a class="reference external" href="http://postgis.refractions.net/">postgis</a> versions 1.2.1 or 1.3.x</li>  <li><a class="reference external" href="http://www.gdal.org/">gdal</a></li>  </ul>  </div></blockquote> @@ -110,21 +107,22 @@ The version has been updated for version 2.0.0.</p>  </div></blockquote>  <p>The simpliest way to obtain these packages is to get them from your favorite  Linux distribution repositories. For instance on Debian Wheezy:</p> -<div class="highlight-python"><pre>apt-get install python python-django python-django-south             \ -    python-beautifulsoup tinymce apache2 libgeos-3.3.3 proj-bin gdal-bin \ -    python-gdal python-lxml python-psycopg2 python-imaging gettext   \ -    postgresql-9.1 postgresql-9.1-postgis libjs-jquery libjs-jquery-ui \ -    python-django-celery python-simplejson gpsbabel \ -    python-pyexiv2 python-feedparser javascript-common</pre> +<div class="highlight-python"><pre>apt-get install apache2 python python-django python-django-south \ +    postgresql-9.1 gettext python-psycopg2 python-imaging \ +    python-pyexiv2 python-beautifulsoup python-simplejson python-gdal \ +    javascript-common python-lxml libjs-jquery libjs-jquery-ui \ +    python-feedparser libgeos-3.3.3 proj-bin postgresql-9.1-postgis \ +    gdal-bin tinymce gpsbabel python-django-celery \</pre>  </div>  <p>On Debian Squeeze (you need to activate backports):</p>  <div class="highlight-python"><pre>apt-get install -t squeeze-backports python-django libjs-jquery -apt-get install python python-django-south python-beautifulsoup tinymce \ -    apache2 libgeos-3.2.0 proj-bin gdal-bin python-gdal python-lxml \ -    python-psycopg2 python-imaging gettext postgresql-8.4 \ -    postgresql-8.4-postgis libjs-jquery libjs-jquery-ui python-simplejson \ -    gpsbabel python-pyexiv2 python-feedparser javascript-common</pre> +apt-get install apache2 python python-django python-django-south \ +    postgresql-8.4 gettext python-psycopg2 python-imaging \ +    python-pyexiv2 python-beautifulsoup python-simplejson python-gdal \ +    javascript-common python-lxml libjs-jquery libjs-jquery-ui \ +    python-feedparser libgeos-3.2.0 proj-bin postgresql-8.4-postgis \ +    gdal-bin tinymce gpsbabel \</pre>  </div>  <p>If these packages do not exist in your distribution’s repository, please refer  to the applications’ websites.</p> @@ -186,7 +184,7 @@ git checkout v2.0 # checkout the desired version</pre>  </div>  <div class="section" id="create-a-custom-project-template">  <h2>Create a custom project template<a class="headerlink" href="#create-a-custom-project-template" title="Permalink to this headline">¶</a></h2> -<p>There a default project provided “example_project”. Copy and modify it (or +<p>There a default project is provided (example_project). Copy and modify it (or  get another project based on Chimere):</p>  <div class="highlight-python"><pre>cd $INSTALL_PATH/chimere  cp -ra example_project mychimere_project</pre> @@ -194,12 +192,12 @@ cp -ra example_project mychimere_project</pre>  <p>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:  it must be at least one letter and can have a string of numbers, letters and -“_” to any length. Don’t begin the name by “_” because it has special -significance in Python.</p> +underscores (“_”) to any length. Don’t begin the name by “_” because it has +special significance in Python.</p>  <p>In your chimere application directory create local_settings.py to fit to your  configuration.  A base template is provided (local_settings.py.example) and short descriptions of -the more relevant fields are given below (at least check them). Most of theses +the more relevant fields are given below (at least check them). Most of these  settings are initialized in settings.py.</p>  <div class="highlight-python"><pre>cd $INSTALL_PATH/chimere/mychimere_project  cp local_settings.py.sample local_settings.py @@ -209,7 +207,7 @@ vim local_settings.py</pre>  <col class="field-name" />  <col class="field-body" />  <tbody valign="top"> -<tr class="field-odd field"><th class="field-name">Fields:</th><td class="field-body"><ul class="first last simple"> +<tr class="field"><th class="field-name">Fields:</th><td class="field-body"><ul class="first last simple">  <li>DATABASES: parameters for the database</li>  <li>PROJECT_NAME: name of the project</li>  <li>SECRET_KEY: a secret key for a particular Django installation. This is @@ -252,12 +250,12 @@ chmod -R g+w /var/log/django/</pre>  <div class="section" id="compiling-languages">  <h2>Compiling languages<a class="headerlink" href="#compiling-languages" title="Permalink to this headline">¶</a></h2>  <p>If your language is available in the locale directory of chimere, you will just -need to get it compiled. This can be done with (here, <strong>fr</strong> stands for french). +need to get it compiled. This can be done with (here, <strong>fr</strong> stands for french.  Replace it with the appropriate language code):</p>  <div class="highlight-python"><pre>cd $INSTALL_PATH/chimere/chimere/  django-admin compilemessages</pre>  </div> -<p>If your language is not available, feel free to create the default po files and +<p>If your language is not available, feel free to create the default po file and  to submit it, contributions are well appreciated. Procedure is as follows:</p>  <p>You first need to create the default po file (of course, replace <strong>fr</strong>  according to the language you choose to create):</p> @@ -292,10 +290,9 @@ an already populated instance!):</p>  <p>Install mod_wsgi for apache:</p>  <div class="highlight-python"><pre>apt-get install libapache2-mod-wsgi</pre>  </div> -<p>TODO: adapt apache-wsgi.conf -Create and edit a configuration for Chimère:</p> -<div class="highlight-python"><pre>cp $INSTALL_PATH/chimere/apache/django.wsgi \ -        $INSTALL_PATH/chimere/apache/mydjango.wsgi +<p>TODO: adapt apache-wsgi.conf</p> +<p>Create and edit a configuration for Chimère:</p> +<div class="highlight-python"><pre>cp $INSTALL_PATH/chimere/apache/django.wsgi $INSTALL_PATH/chimere/apache/mydjango.wsgi  vim $INSTALL_PATH/chimere/apache/mydjango.wsgi  cp $INSTALL_PATH/chimere/apache/apache-wsgi.conf /etc/apache2/sites-available/chimere  vim /etc/apache2/sites-available/chimere @@ -303,13 +300,13 @@ vim /etc/apache2/sites-available/chimere  mkdir /var/log/apache2/chimere/</pre>  </div>  <p>Adapt the files <em>mydjango.wsgi</em> (with the correct sys path) and Apache <em>chimere</em>.</p> -<p>To activate the website reload apache:</p> +<p>To activate the website, reload apache:</p>  <div class="highlight-python"><pre>a2ensite chimere  /etc/init.d/apache2 reload</pre>  </div>  <p>If you encounter problem with the upload of files with Unicode chars in their -names activate the appropriate locale in Apache. On a Debian server with UTF-8 -as default encoding in the file <em>/etc/apache2/envvars</em> uncomment the following +names, activate the appropriate locale in Apache. On a Debian server with UTF-8 +as default encoding in the file <em>/etc/apache2/envvars</em>, uncomment the following  line:</p>  <div class="highlight-python"><pre>. /etc/default/locale</pre>  </div> @@ -384,12 +381,12 @@ line:</p>          <li class="right" >            <a href="index.html" title="Welcome to Chimère’s documentation!"               >previous</a> |</li> -        <li><a href="index.html">Chimère 2.0 documentation</a> »</li>  +        <li><a href="index.html">Chimère v2.0 documentation</a> »</li>         </ul>      </div>      <div class="footer">          © Copyright 2012, Étienne Loks. -      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. +      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.8.      </div>    </body>  </html>
\ No newline at end of file  | 
