Changeset 917 for trunk/docs/install
- Timestamp:
- May 7, 2019, 2:17:08 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
False
/branches/prototype-v0 merged eligible
-
Property
svn:mergeinfo
set to
False
-
trunk/docs/install/installation.rst
r809 r917 147 147 <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L34>`_. 148 148 149 Metadata Database (Optional) 150 ***************************** 151 152 .. _zoo_create_metadb: 153 154 It is possible to use a PostgreSQL database to store metadata 155 information about WPS Services. This support is optional and require 156 to be activated by using the ``--with-metadb=yes`` option. 157 158 To create the database for storing the metadata informations about the 159 WPS 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 166 In case you want to convert an existing zcfg file then, you can use 167 the ``zcfg2sql`` tool from the command line. It can be found in 168 ``thirds/zcfg2sql`` and can be build simply by running the ``make`` 169 command. After compilation you only need to give it the path of the 170 zcfg file you want to obtain the SQL queries required to store the 171 metadata informations in the database rather than in zcfg file. 172 173 For 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 149 182 150 183 … … 154 187 If ``yaml.h`` file is not found in your ``/usr/include`` directory and 155 188 ``libyaml.so`` is not found in ``/usr/lib``, a ``--with-yaml`` option 156 can be used to specify its location. For instance, if the heade er file189 can be used to specify its location. For instance, if the header file 157 190 lies in ``/usr/local/include`` and the shared library is located in 158 191 ``/usr/local/lib``, you may use the following command:
Note: See TracChangeset
for help on using the changeset viewer.