Custom CKAN theme for Offene Daten Mettmann containing templates, static pages, media files and translations. General setup inspired by ckanext-demo. Internationalization files inspired and forked from ckanext-ogdch.
Notice: The templates are quite rudimentary and under construction.
pip to install this plugin. This example installs it as user
ckan into the default src directory of your virtual Python environment, for example
su -s /bin/bash - ckan source /usr/lib/ckan/demo/bin/activate pip install -e git+https://github.com/formwandler/ckanext-odmetheme.git#egg=ckanext-odmetheme
This will register the plugin entry point by running
python setup.py develop. Make sure to add
ckan.plugins in your config “.ini” file.
For activating the internationalization files you need to replace the original CKAN
.mo files under
src/ckan/ckan/i18n/ (if CKAN has been installed using “python setup.py develop”) or under
lib/python2.?/site-packages/ckan/i18n/ (if CKAN has been installed using “python setup.py install”). See script in
bin directory which does the job. Or configure CKAN to use the customized i18n dir by setting the config parameter
Adaptations are Copyright (C) 2013 Ralf Kruedewagen firstname.lastname@example.org.
It is open source and licensed under the GNU AFFERO GENERAL PUBLIC LICENSE v3 whose full text may be found at http://www.gnu.org/licenses/agpl-3.0. See also LICENSE file.