ckanext-datasetrelations
A CKAN extension to implement dataset relationships, allowing datasets to be linked and related to each other.
Requirements
This extension is designed to work with CKAN.
Installation
To install ckanext-datasetrelations:
- Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
- Install the ckanext-datasetrelations Python package into your virtual environment:
pip install ckanext-datasetrelations
Add datasetrelations to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
Restart CKAN:
sudo service apache2 reload
Development Installation
To install ckanext-datasetrelations for development, activate your CKAN virtualenv and do:
git clone https://github.com/keitaroinc/ckanext-datasetrelations.git
cd ckanext-datasetrelations
python setup.py develop
pip install -r dev-requirements.txt
Config Settings
Optional configuration settings:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24)
ckanext.datasetrelations.some_setting = some_default_value
Running the Tests
To run the tests:
nosetests --nologcapture --with-pylons=test.ini
License
This extension is licensed under the AGPL-3.0 license.