Provides tailored styling and features for CKAN for the Zambia National Research Repository.
The following key features are provided by this extension:
- Tailored UI styling
- Integration with Giftless and CKAN extensions ckanext-blob-storage, ckanext-authz-service and ckanext-versions for revisioning and release management
- Template changes to streamline the UI
To be written
To install this extension:
-
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/fjelltopp/ckanext-zarr.git cd ckanext-zarr pip install -e . pip install -r requirements.txt
-
Add
zarr
to theckan.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 service apache2 reload
To install the extension for development, activate your CKAN virtualenv and do:
git clone https://github.com/fjelltopp/ckanext-zarr.git
cd ckanext-zarr
python setup.py develop
pip install -r dev-requirements.txt
To run the tests, do:
pytest --ckan-ini=test.ini