ckanext-dataconverter
Requirements
For example, you might want to mention here which versions of CKAN this extension works with.
Installation
To install ckanext-dataconverter:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-dataconverter Python package into your virtual environment:
pip install ckanext-dataconverter
Add dataconverter to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Config settings
None at present
Developer installation
To install ckanext-dataconverter for development, activate your CKAN virtualenv and do:
git clone https://github.com/congbk92/ckanext-dataconverter.git
cd ckanext-dataconverter
python setup.py develop
pip install -r dev-requirements.txt
Tests
To run the tests, do:
pytest --ckan-ini=test.ini
To run the tests and produce a coverage report, first make sure you have pytest-cov installed in your virtualenv (pip install pytest-cov) then run:
pytest --ckan-ini=test.ini --cov=ckanext.dataconverter