Changeset 905 for branches


Ignore:
Timestamp:
Apr 19, 2019, 4:44:47 PM (6 years ago)
Author:
djay
Message:

Be a little more precise about how to build and use the zcfg2sql command line tool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/docs/install/installation.rst

    r904 r905  
    165165
    166166In case you want to convert an existing zcfg file then, you can use
    167 the ``zcfg2sql`` tool from the command line.
     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
     182
    168183
    169184YAML Support (Optional)
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