
c-Kang SL Open Data Portal Theme

The CKAN theme for the open data portal of the Ministry of Health Sri Lanka

Requirements
For full functionality of the theme, CKAN CMS has to be installed together with theme, see https://github.com/zemantic/ckan-cms
Compatibility with core CKAN versions:
| CKAN version |
Compatible? |
| 2.9.7 |
tested |
| 2.10 |
not tested |
Installation
TODO: Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-sldata_theme:
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/Zemantic/ckanext-sldata_theme.git
cd ckanext-sldata_theme
pip install -e .
pip install -r requirements.txt
Add sldata_theme 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 supervisorctrl restart all
Config settings
None at present
TODO: Document any optional config settings here. For example:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.sldata_theme.some_setting = some_default_value
Developer installation
To install ckanext-sldata_theme for development, activate your CKAN virtualenv and
do:
git clone https://github.com/Zemantic/ckanext-sldata_theme.git
cd ckanext-sldata_theme
python setup.py develop
pip install -r de