A CKAN plugin made for SINTEF ICT that extends ckanext-harvest. This plugin enables harvesting from the sources Geonorge and Difi.
To install ckanext-sintef:
-
You will need ckanext-harvest in order for ckanext-sintef to work. For documentation on how to install ckanext-harvest, visit https://github.com/ckan/ckanext-harvest.
-
Activate your CKAN virtual environment, for example::
~/ckan/default/bin/activate
- Install the ckanext-sintef Python package into your virtual environment::
cd ~ckan/default/src/ckanext-sintef
python setup.py develop
-
Add
geonorge_harvester
anddatanorge_harvester
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
To install ckanext-sintef for development, activate your CKAN virtualenv and do::
git clone https://github.com/OpenTransportDataProject/ckanext-sintef.git
cd ckanext-sintef
python setup.py develop
pip install -r dev-requirements.txt