Extension Eurovoc


Extension Basics


Background Infos

Description (long)
Show details

.. You should enable this project on travis-ci.org and coveralls.io to make these badges work. The necessary Travis and Coverage config files have been generated for you.

.. image:: https://travis-ci.org/ckan/ckanext-eurovoc.svg?branch=master :target: https://travis-ci.org/ckan/ckanext-eurovoc

.. image:: https://coveralls.io/repos/ckan/ckanext-eurovoc/badge.png?branch=master :target: https://coveralls.io/r/ckan/ckanext-eurovoc?branch=master

===============

ckanext-eurovoc

Add top-level Eurovoc categories to CKAN for search and filtering.


Requirements

Compatible with CKAN 2.2 and 2.3.


Installation

.. Add any additional install steps to the list below. For example installing any non-Python dependencies or adding any required config settings.

To install ckanext-eurovoc:

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

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-eurovoc Python package into your virtual environment::

    pip install ckanext-eurovoc

  3. Add eurovoc 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


Development Installation

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

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

Configuration

The Eurovoc plugin doesn’t automatically change CKAN templates or add a Eurovoc category field to your dataset schema.

If you want to add eurovoc category values to your schema, you will need to modify the dataset schema in your own extension and add form widgets to the appropr

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
eurovoc
CKAN Settings (ckan.ini)
# ckanext.eurovoc.categories = categories_se.json  # sweden
# ckanext.eurovoc.category_field_name = theme
DB migration to be executed
(not set)
<< back to Extensions