Ignore:
Timestamp:
Jun 30, 2015, 5:45:38 PM (9 years ago)
Author:
djay
Message:

Various fixes in installation documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/docs/kernel/configuration.rst

    r710 r713  
    22
    33ZOO-Kernel configuration
    4 =================
     4========================
    55
    66Main configuration file
     
    166166For instance, adding the following in the Service source code  :
    167167
    168 .. code-block:: python
     168.. code:: python
    169169   
    170170    conf["lenv"]["cookie"]="XXX=XXX1000000; path=/"
     
    176176value stored before the Service execution.
    177177
    178 
    179 database section
    180 ...............................
    181 
    182 The database section allows to configure the ZOO-Kernel optional
    183 database support.
     178.. _zoo_activate_db_backend:
     179
     180Database section
     181...............................
     182
     183The database section allows to configure the
     184:ref:`ZOO-Kernel optional database support <zoo_install_db_backend>`.
    184185
    185186.. code-block:: guess
     
    193194        schema=public
    194195
    195 This will generate strings to be passed to GDAL:
    196 
    197 .. code-block::
     196This will generate strings to be passed to GDAL to connect the
     197database server:
     198
     199.. code-block:: guess
    198200   
    199      <type>:host=<host> port=<port>  user=<user> dbname=<dbname>
    200 
    201  .. code-block::
    202 
    203       PG:"dbname='zoo_project' host='127.0.0.' port='5432' user='x' password='y'"
     201    <type>:host=<host> port=<port>  user=<user> dbname=<dbname>
     202
     203
     204With the previous database section, it will give the following:
     205
     206.. code-block:: guess
     207
     208    PG:"dbname=zoo_project host=127.0.0.1 port=5432 user=username"
     209
     210.. _zoo_create_db_backend:
     211
     212To create a new database to be used by the ZOO-Kernel, you have
     213to load the `schema.sql
     214<http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql>`_
     215file. For instance, you may run the following:
     216
     217.. code::
     218
     219    createdb zoo_project
     220    psql zoo_project -f zoo-project/zoo-kernel/sql/schema.sql
     221
     222.. note::
     223    You can choose another schema to store ZOO-Kernel specific
     224    informations. In such a case, you would need to edit the
     225    schema.sql file to uncomment line `33
     226    <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L33>`_
     227    and `34
     228    <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L34>`_.
     229
     230
    204231
    205232     
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png