.. 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:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-eurovoc Python package into your virtual environment::
pip install ckanext-eurovoc
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).
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