Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension for CKAN: HRO-DCAT-AP.de

A custom DCAT-AP.de implementation for OpenData.HRO, the open data portal of the Hanseatic and University City of Rostock (https://www.opendata-hro.de/).

This extension provides a specific DCAT-AP profile built on top of euro_dcat_ap3 from ckanext-dcat. It extends and adapts functionality from ckanext-dcatde and ckanext-dcatde_berlin, following a non-intrusive approach—no database migrations and no changes to CKAN core.

Many thanks to the contributors of these projects for their foundational work.

Requirements

Installation

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

    . /usr/lib/ckan/default/bin/activate
    
  2. Install HRO-DCAT-AP.de into your virtual Python environment, for example:

    cd /usr/lib/ckan/default/src
    git clone https://github.com/rostock/ckanext-hro_dcatapde.git
    cd ckanext-hro_dcatapde
    pip install -e .
    
  3. Enable HRO-DCAT-AP.de in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini):

    ckan.plugins = hro_dcatapde
    
  4. Add the following lines to your CKAN config file:

    ckanext.dcat.rdf.profiles = euro_dcat_ap3 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, run:

    sudo service apache2 reload
    

Upgrade

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

    . /usr/lib/ckan/default/bin/activate
    
  2. Upgrade HRO-DCAT-AP.de within your virtual Python environment:

    cd /usr/lib/ckan/default/src/ckanext-hro_dcatapde
    git pull
    pip install -e .
    
  3. Restart CKAN. For example, if you have deployed CKAN with Apache HTTP Server on Ubuntu:

    sudo service apache2 reload
    

About

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

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages