Extension Hro Dcatapde


Extension Basics

Title
Hro Dcatapde
Name
ckanext-hro_dcatapde
Type
Public extension
Description
A custom implementation of DCAT-AP.de for OpenData.HRO, the open data portal of the municipality of Rostock
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-08-15 15:03:02)
Url to repo
Category
Standards Compliance


Background Infos

Description (long)
Show details

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

  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:

    pip install -r https://github.com/rostock/ckanext-hro_dcatapde/raw/master/requirements.txt
    pip install -e 'git+https://github.com/rostock/ckanext-hro_dcatapde.git#egg=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/ckan.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
    

Upgrade

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

    . /usr/lib/ckan/default/bin/activate
    
  2. Upgrade *H

Version
2.2.2
Version release date
2024-08-15
Contact name
Hanse- und Universitätsstadt Rostock
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
  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:

    pip install -r https://github.com/rostock/ckanext-hro_dcatapde/raw/master/requirements.txt
    pip install -e 'git+https://github.com/rostock/ckanext-hro_dcatapde.git#egg=ckanext-hro_dcatapde'
    
  3. Add hro_dcatapde to the ckan.plugins setting in your CKAN config file (by default the config file i

Plugins to configure (ckan.ini)
hro_dcatapde
CKAN Settings (ckan.ini)
# ckanext.dcat.enable_content_negotiation = True
# ckanext.dcat.rdf.profiles = euro_dcat_ap dcatap_de
# ckanext.hro_dcatapde.contributorid = [your contributor id]
DB migration to be executed
(not set)
<< back to Extensions