This extension provides chart library that enables deeper integration of charts into CKAN applications.
To install ckanext-c3charts:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
- Install the ckanext-c3charts Python package into your virtual environment:
pip install ckanext-c3charts
-
Add
c3charts
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
None at present
To install ckanext-c3charts for development, activate your CKAN virtualenv and do:
git clone https://github.com/keitaroinc/ckanext-c3charts.git
cd ckanext-c3charts
python setup.py develop
pip install -r dev-requirements.txt
To run the tests, do:
pytest --ckan-ini=test.ini --cov=ckanext.c3charts --disable-warnings ckanext/c3charts/tests