Extension BC Gov


Extension Basics

Title
BC Gov
Name
ckanext-bcgov
Type
Public extension
Description
Main extension providing customized features for the BC Data Catalogue including schema updates, theme changes, and BC-specific integrations.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2025-01-09 22:05:04)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

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

  1. Activate virtual environment:

    $ . /usr/lib/ckan/default/bin/activate
    
  2. Install the extension. Switch to ckanext-bcgov extension directory and run:

    python setup.py develop
    
  3. Update the config file and add the following plugins to ckan.plugins list:

    • edc_app
    • edc_geo
    • edc_ngeo
    • edc_webservice
    • edc_disqus
  4. Add required configuration settings to ini file including:

    • Solr settings (search.facets.limit, search.facets.default)
    • Licenses and sectors JSON files URLs
    • Dashboard settings (bcgov.dashboard.api_url)
    • OFI Service endpoints
    • POW Service endpoints and settings
  5. Create default vocabularies:

    cd ckanext-bcgov/ckanext/bcgov/scripts
    $ python create_vocabs.py
    
  6. Create organizations:

    $ python create_orgs.py
    

Originally converted from SVN Source. Original Repo Copyright 2015, Province of British Columbia.

Version
2.0.1
Version release date
2025-01-09
Contact name
BC Government
Contakt email
Contact Url


Installation Guide

Configuration hints

Requires extensive configuration including OFI/POW service endpoints, dashboard API URL, and vocab/org setup scripts. See README for full details.

Plugins to configure (ckan.ini)
edc_app edc_geo edc_ngeo edc_webservice edc_disqus
CKAN Settings (ckan.ini)
# search.facets.limit = 500
# search.facets.default = 20
# ckan.search.show_all_types = true
# licenses_group_url = https://your-license-api/bcdc_licenses.json
# sectors_file_url = https://your-license-api/bcdc_sectors.json
# edc.environment_name = MYDEVBOX
# bcgov.dashboard.api_url = https://argg.apps.gov.bc.ca/int/
# bcgov.ofi.api.public_url = https://apps.gov.bc.ca/pub/dwds-ofi
# bcgov.ofi.api.secure_url = https://apps.gov.bc.ca/pub/dwds-ofi/secure
# bcgov.pow.public_url = https://apps.gov.bc.ca/pub/dwds-ofi
# bcgov.pow.secure_url = https://apps.gov.bc.ca/ext/dwds-pow
DB migration to be executed
(not set)
<< back to Extensions