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.
-
Activate your CKAN virtual Python environment, for example:
. /usr/lib/ckan/default/bin/activate -
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 . -
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 -
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] -
Restart CKAN. For example, if you have deployed CKAN with Apache HTTP Server on Ubuntu, run:
sudo service apache2 reload
-
Activate your CKAN virtual Python environment, for example:
. /usr/lib/ckan/default/bin/activate -
Upgrade HRO-DCAT-AP.de within your virtual Python environment:
cd /usr/lib/ckan/default/src/ckanext-hro_dcatapde git pull pip install -e . -
Restart CKAN. For example, if you have deployed CKAN with Apache HTTP Server on Ubuntu:
sudo service apache2 reload