ckanext-customizer
This CKAN extension provides a way to customize a CKAN implementation using environment variables that are not already supported by default or by ckanext-envvars. The goal is to make production deployments a breeze.
Features
- change name of terms: “organization” and “group” (will handle plurals, capitalizations, etc.) and add custom helper texts for the same
- remove social media buttons
- remove the language selection from footer
Please request a feature by creating an issue in this repository.
Requirements
Compatibility with core CKAN versions:
| CKAN version |
Compatible? |
| 2.6 and earlier |
not tested |
| 2.7 |
not tested |
| 2.8 |
yes |
| 2.9 |
yes |
Installation
To install ckanext-customizer:
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/saikarthikp9/ckanext-customizer.git
cd ckanext-customizer
pip install -e .
pip install -r requirements.txt
Add customizer to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/ckan.ini).
Run the customizer-i18n-branding command
ckan -c /etc/ckan/default/ckan.ini customizer-i18n-branding
Restart CKAN server. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Environment Variables:
| Name |
Required |
Default |
| CUSTOMIZER_ORGANIZATION_NAME |
N |
organization |
| CUSTOMIZER_ORGANIZATION_DESCRIPTION |
N |
CKAN Organisations are used |