
ckanext-ehaportal
A CKAN extension with customisations for the eHealth Africa Data Portal.
Installation
To install the extension
Activate your CKAN virtualenv, for example
. ${CKAN_VENV}/bin/activate
Install ckanext-ehaportal in edit mode
pip install -e .
Install dependencies
# install direct requirements
pip install -r ./requirements.txt
# install dev requirements
pip install -r ./requirements-dev.txt
Add ehaportal to the ckan.plugins setting in your CKAN config file
Config settings
None at present.
Development Setup
Pre-requisites
Optional:
Setup dev environment
Install all pre-requisites listed above you if don’t already have them installed
Install CKAN and all dependent extension from source into a Nix shell from the project root directory as follows:
# setu p dev env using nix
nix-shell
Running nix-shell starts up an isolated Nix shell and does the following:
- Creates a virtualenv named
.venv in the project root directory
- Installs
CKAN in edit mode into the virtualenv. Source becomes available in .venv/src/ckan
- Installs the following extensions required to run the eHealth Data Portal into the virtualenv