ckanext-hro_dcatapde

A custom implementation of DCAT-AP.de for OpenData.HRO, the open data portal of the municipality of Rostock


Keywords
CKAN, open, data, DCAT-AP, de, profile
License
Other
Install
pip install ckanext-hro_dcatapde==1.1.0

Documentation

Extension for CKAN: HRO-DCAT-AP.de

A custom implementation of DCAT-AP.de for OpenData.HRO, the open data portal of the municipality of Rostock – view it in production: https://www.opendata-hro.de

HRO-DCAT-AP.de defines a DCAT-AP profile that needs to be layered right on top of euro_dcat_ap, as defined in ckanext-dcat. It builds on both ckanext-dcatde and ckanext-dcatde_berlin and works like the latter, i.e. no database conversion necessary and the CKAN core remains untouched.

Many thanks to the contributors to both ckanext-dcatde and ckanext-dcatde_berlin where much of the code is derived from.

Requirements

Installation

To install ckanext-hro_dcatapde for production:

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

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

    pip install ckanext-hro_dcatapde
    
  3. Add hro_dcatapde to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini)

  4. Add the following lines to your CKAN config file:

    ckanext.dcat.enable_content_negotiation = True
    ckanext.dcat.rdf.profiles = euro_dcat_ap dcatap_de
    ckanext.hro_dcatapde.contributorid = [your contributor id]
    
  5. Restart CKAN. For example, if you have deployed CKAN with Apache HTTP Server on Ubuntu:

    sudo service apache2 reload
    

Development installation

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

git clone https://github.com/rostock/ckanext-hro_dcatapde.git
cd ckanext-hro_dcatapde
python setup.py develop
pip install -r dev-requirements.txt