Changeset 917 for trunk/docs/install


Ignore:
Timestamp:
May 7, 2019, 2:17:08 PM (6 years ago)
Author:
djay
Message:

Merge prototype-v0 branch in trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/docs/install/installation.rst

    r809 r917  
    147147    <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L34>`_.
    148148
     149Metadata Database (Optional)
     150*****************************
     151
     152.. _zoo_create_metadb:
     153
     154It is possible to use a PostgreSQL database to store metadata
     155information about WPS Services. This support is optional and require
     156to be activated by using the ``--with-metadb=yes`` option.
     157
     158To create the database for storing the metadata informations about the
     159WPS Services, you may use the following command:
     160
     161.. code::
     162
     163    createdb zoo_metadb
     164    psql zoo_metadb -f zoo-project/zoo-kernel/sql/zoo_collectiondb.sql
     165
     166In case you want to convert an existing zcfg file then, you can use
     167the ``zcfg2sql`` tool from the command line. It can be found in
     168``thirds/zcfg2sql`` and can be build simply by running the ``make``
     169command. After compilation you only need to give it the path of the
     170zcfg file you want to obtain the SQL queries required to store the
     171metadata informations in the database rather than in zcfg file.
     172
     173For instance you may use the following command:
     174
     175.. code::
     176
     177    #Direct import in the zoo_metadb database
     178    ./zcfg2sql /Path/To/MyZCFGs/myService.zcfg | psql zoo_metadb
     179    #Create a SQL file for a futur import
     180    ./zcfg2sql /Path/To/MyZCFGs/myService.zcfg > myService.sql
     181
    149182
    150183
     
    154187If ``yaml.h`` file is not found in your ``/usr/include`` directory and
    155188``libyaml.so`` is not found in ``/usr/lib``, a ``--with-yaml`` option
    156 can be used to specify its location. For instance, if the headeer file
     189can be used to specify its location. For instance, if the header file
    157190lies in ``/usr/local/include`` and the shared library is located in
    158191``/usr/local/lib``, you may use the following command:
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