~2.8
These CKAN Versions are exactely matched:
This is the main repo for the Knowledge Hub on Displaced Populations in the MENA Region. All of the CKAN customizations are added in this extension.
This extension requires CKAN 2.8.x version.
To install ckanext-knowledgehub:
Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-knowdledgehub Python package:
pip install ckanext-knowledgehub
Initialize the tables:
knowledgehub -c /etc/ckan/default/production.ini db init
Add knowledgehub to the ckan.plugins setting in your CKAN config file.
knowledgehub
ckan.plugins
Restart CKAN.
knowledgehub db init
knowledgehub search-index rebuild
knowledgehub intents update
knowledgehub predictive_search train
Requires multiple additional extensions: ckanext-datarequests, ckanext-validation, ckanext-oauth2. Database initialization required. Configure HDX, RNN settings, OAuth2.
# ckanext.knowledgehub.themes_per_page = 20 # ckanext.knowledgehub.hdx.api_key = <API_KEY> # ckanext.knowledgehub.hdx.site = test # ckanext.knowledgehub.hdx.owner_org = <ORG_ID>