This is a custom Harvester (https://github.com/ckan/ckanext-harvest) extension for CKAN.
It assumes that the ckanext-harvest
extension is installed and enabled in the CKAN .ini file.
To install ckanext-datavic-harvester
:
-
Activate your CKAN virtual environment, for example:
. /app/src/ckan/default/bin/activate
-
Install the ckanext-datavic-harvester Python package into your virtual environment:
cd /app/src/ckan/default/src/ckanext-datavic-harvester python setup.py develop
-
Add
datavic_dcat_json_harvester delwp_harvester
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/app/ckan/default/ckan.ini
). -
Restart CKAN. For example if you've deployed CKAN with docker:
docker-compose restart ckan
-
When creating a new harvest source via the standard
ckanext-harvest
admin UI, selectCKAN Harvester for Data.Vic
as the harvest type.
This setting can be used on the Public data.vic harvest from the Data Directory to exclude Private records from being harvested.
Default: False