small doc fixes

This commit is contained in:
Tom Kralidis 2013-11-22 08:52:32 -05:00 committed by amercader
parent 9dd4ab05fe
commit 92fd782b99
1 changed files with 3 additions and 2 deletions

View File

@ -160,10 +160,12 @@ Setting Service Metadata Keywords
The CSW standard allows for administrators to set CSW service metadata. These The CSW standard allows for administrators to set CSW service metadata. These
values can be set in the pycsw configuration ``metadata:main`` section. If you values can be set in the pycsw configuration ``metadata:main`` section. If you
would like the CSW service metadata keywords to be reflective of the CKAN would like the CSW service metadata keywords to be reflective of the CKAN
tags, run the following: tags, run the following convenience command:
paster ckan-pycsw set_keywords -p /etc/ckan/default/pycsw.cfg paster ckan-pycsw set_keywords -p /etc/ckan/default/pycsw.cfg
Note that you must have privileges to write to the pycsw configuration file.
Running it on production site Running it on production site
+++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++
@ -176,7 +178,6 @@ keep CKAN and pycsw in sync, and serve pycsw with Apache + mod_wsgi like CKAN.
# m h dom mon dow command # m h dom mon dow command
0 * * * * /usr/lib/ckan/default/bin/paster --plugin=ckanext-spatial ckan-pycsw load -p /etc/ckan/default/pycsw.cfg 0 * * * * /usr/lib/ckan/default/bin/paster --plugin=ckanext-spatial ckan-pycsw load -p /etc/ckan/default/pycsw.cfg
0 0 * * * /usr/lib/ckan/default/bin/paster --plugin=ckanext-spatial ckan-pycsw set_keywords -p /etc/ckan/default/pycsw.cfg
This particular example will run the load command every hour. You can of This particular example will run the load command every hour. You can of
course modify this periodicity, for instance reducing it for huge instances. course modify this periodicity, for instance reducing it for huge instances.