Extension implementing various CeON changes to default CKAN installation. The part handling DOI is based upon https://github.com/NaturalHistoryMuseum/ckanext-doi
The extension is being tested with latest development version (2.4a at the moment). However it should probably work fine with ckan-2.3 as well.
To install ckanext-ceon:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-ceon Python package into your virtual environment:
pip install ckanext-ceon
- Add
ceon
to theckan.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
Document any optional config settings here. For example:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.ceon.some_setting = some_default_value
To install ckanext-ceon for development, activate your CKAN virtualenv and do:
git clone https://github.com/mateuszneumann/ckanext-ceon.git
cd ckanext-ceon
python setup.py develop
export C_INCLUDE_PATH="/usr/include/libxml2:/usr/include/libxslt"
pip install -r dev-requirements.txt