
ckanext-bcgov
This extension provides the basic customized features on the BC Data Catalogue, such as schema updates, theme changes, etc.
Ckan core and other required ckan extensions including python modules are included as part of requirement.txt.
Installation
Activate virtual environment, e.g.
$ . /usr/lib/ckan/default/bin/activate
Install the extension. Switch to ckanext-bcgov extension directory and run the following command:
python setup.py develop
Update the config file and add the following plugins to ckan.plugins list : edc_app edc_geo edc_ngeo edc_webservice edc_disqus.
Add the following lines to ini file to the search setting section if they don’t exist:
“`
solr related settings
search.facets.limit = 500
search.facets.default = 20
ckan.search.show_all_types = true
ckan.api_key = your-sysadmin-api-key
licenses and sectors JSON files, e.g.:
licenses_group_url = https://${BCDC_LICENSE_API_ENDPOINT}/bcdc_licenses.json
sectors_file_url = https://${BCDC_LICENSE_API_ENDPOINT}/bcdc_sectors.json
(optional) Environment name
edc.environment_name = MYDEVBOX
Dashboard settings
bcgov.dashboard.api_url = https://argg.apps.gov.bc.ca/int/
OFI Service endpoint
bcgov.ofi.api.public_url = https://apps.gov.bc.ca/pub/dwds-ofi
bcgov.ofi.api.secure_url = https://apps.gov.bc.