Activate your CKAN virtual environment, for example:
ENV /usr/lib/ckan/default/bin/activate
Install the ckanext-relation Python package into your virtual environment:
pip install ckanext-relation
// or
pip install -e git+https://github.com/tum-gis/ckanext-relation#egg=ckanext-relation
Add the relevant plugins to theckan.pluginssetting in your CKAN config file.
Restart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
User interaction and design
The design of this extension is basically based on the concept of Distributed Digital Twins and CKAN access control which includes separation of incoming and outgoing relationships. The UI design is an on-going process which is being improved based on users feedback.
1. Is it necessary that after the search I go again under each relationship type and add the dataset as a relationship? why not directly on the search result box
The purpose is that the user thinks again about the type of the relationship and then when s/he is sure to choose the right type and under that type adds the dataset.
Further steps
Add help text to the UI
Add automatically an infobox in the dataset page when an outgoing relationship exists