This is a fork of the core ckanext-datatables extension with DataTables upgraded to versin 1.12.1 and styling and functionality configured for the Texas Water Data Hub
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.6 and earlier | not tested |
2.7 | not tested |
2.8 | not tested |
2.9 | yes |
To install ckanext-datatablesview_plus:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone https://github.com/TNRIS/ckanext-datatablesview_plus.git cd ckanext-datatablesview_plus pip install -e . pip install -r requirements.txt
-
Add
datatablesview_plus
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Add
datatablesview_plus
to theckan.ciews.default_views
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
-
Create the DB table used to store 'Share Search' data.
ckan -c ckan.ini datatablesview-plus migrate
To install ckanext-datatablesview_plus for development, activate your CKAN virtualenv and
do:
git clone https://github.com/twdbben/ckanext-datatablesview_plus.git cd ckanext-datatablesview_plus python setup.py develop pip install -r dev-requirements.txt