Skip to content

keitaroinc/ckanext-c3charts

 
 

CI Gitter Python CKAN

Ckan Charts

This extension provides chart library that enables deeper integration of charts into CKAN applications.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.9 Yes
2.10 Yes
2.11 Yes

Installation

To install ckanext-c3charts:

  1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
  1. Install the ckanext-c3charts Python package into your virtual environment:
pip install ckanext-c3charts
  1. Add c3charts to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  2. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload

Config settings

None at present

Development Installation

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

Tests

To run the tests, do:

pytest --ckan-ini=test.ini --cov=ckanext.c3charts --disable-warnings ckanext/c3charts/tests

License

AGPL

About

c3js based charts for CKAN

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 52.6%
  • JavaScript 28.3%
  • HTML 11.4%
  • CSS 4.4%
  • Shell 3.3%