Based on https://github.com/openresearchdata/ckanext-oaipmh
-
Install ckanext-harvest (https://github.com/ckan/ckanext-harvest#installation) (Only if you want to use the RDF harvester)
-
. /<CKAN_HOME>/bin/activate
-
cd <CKAN_HOME>/src
-
Install the extension on your virtualenv:
(pyenv)pip install -e git+https://github.com/aragonopendata/ckanext-oaipmh-unizar.git#egg=ckanext-oaipmh-unizar
-
Install the extension requirements:
(pyenv) $ pip install -r ckanext-oaipmh-unizar/requirements.txt
-
Enable the required plugins in your ini file:
ckan.plugins = oaipmh_harvester_unizar