Skip to content

tum-gis/ckanext-relation-sddi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-relation

Overview

This extension provides an UI for creating, deleting and viewing relationships between datasets. If the extension is used with ckanext-grouphierarchy-sddi extension, the graphical representation will be in the colours of the groups defined in the ckanext-grouphierarchy-sddi extension.

In this implementation which is specifically designed for the requirements of HEF, TUM.

In the following image is one example of the implementation:

image


Requirements

This extension is tested with CKAN 2.8.0 and wih CKAN > 2.9.0.


Installation

To install ckanext-relation:

  1. Activate your CKAN virtual environment, for example::

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-relation Python package into your virtual environment::

    pip install -e 'git+https://github.com/tum-gis/ckanext-relation-sddi.git#egg=ckanext-relation-sddi'
    
  3. Add relation to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload
    

Config settings

None at present


Developer installation

To install ckanext-relation for development, activate your CKAN virtualenv and do::

git clone https://github.com/tum-gis/ckanext-relation-sddi.git
cd ckanext-relation
python setup.py develop

License

The ckanext-relation is available as free and open source and is licensed under the Apache License, Version 2.0.