All Projects → bcgov → ckanext-bcgov

bcgov / ckanext-bcgov

Licence: AGPL-3.0 license
BC Data Catalogue source code, main ckan extension

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ckanext-bcgov

bcdata
An R package for searching & retrieving data from the B.C. Data Catalogue
Stars: ✭ 68 (+209.09%)
Mutual labels:  bcdc, citz
issuer-kit
Verifiable Credential Issuer Starter Kit
Stars: ✭ 33 (+50%)
Mutual labels:  citz
vc-authn-oidc
No description or website provided.
Stars: ✭ 79 (+259.09%)
Mutual labels:  citz
queue-management
For use in Service BC service centers for customer flow management and analytics.
Stars: ✭ 30 (+36.36%)
Mutual labels:  citz
platform-services
Collection of platform related tools and configurations
Stars: ✭ 11 (-50%)
Mutual labels:  citz
design-system
British Columbia Government Design System for Digital Services
Stars: ✭ 33 (+50%)
Mutual labels:  citz
aries-agent-test-harness
Aries agent test framework, with agent backchannel support
Stars: ✭ 43 (+95.45%)
Mutual labels:  citz
intro-to-tidyhydat-and-tidyverse
Introduction to R and the tidyverse in Hydrology
Stars: ✭ 16 (-27.27%)
Mutual labels:  citz
tidyhydat
An R package to import Water Survey of Canada hydrometric data and make it tidy
Stars: ✭ 67 (+204.55%)
Mutual labels:  citz
bootstrap-theme
The new home for the new bootstrap v4 themed BC Gov. look-and-feel
Stars: ✭ 16 (-27.27%)
Mutual labels:  citz
bcgov-data-science-cop
A repository to house bcgov Data Science CoP materials
Stars: ✭ 22 (+0%)
Mutual labels:  citz

Find us on Mattermost
Build Status License Delivery

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, e.g.

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

    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 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.ca/pub/dwds-ofi/secure
bcgov.ofi.api.convert_to_single_res = true

# POW Service Endpoints
bcgov.pow.public_url = https://apps.gov.bc.ca/pub/dwds-ofi
# Siteminder enabled POW is enabled.
bcgov.pow.secure_url = https://apps.gov.bc.ca/ext/dwds-pow
bcgov.pow.pow_ui_path = /jsp/dwds_pow_current_order.jsp?

# POW Settings
bcgov.pow.env = prod
bcgov.pow.past_orders_nbr = 5
bcgov.pow.custom_aoi_url = http://maps.gov.bc.ca/ess/hm/aoi/
bcgov.pow.persist_config = true
bcgov.pow.enable_mow = false
bcgov.pow.user_pow_ofi = true
bcgov.pow.order_source = bcdc

# POW Order Defaults
bcgov.pow.order_details.aoi_type = 0
bcgov.pow.order_details.aoi =
bcgov.pow.order_details.clipping_method_type_id = 1
bcgov.pow.order_details.ordering_application = BCDC
bcgov.pow.order_details.format_type = 3
bcgov.pow.order_details.csr_type = 4
bcgov.pow.order_details.item.metadata_url = https://catalogue.data.gov.bc.ca/dataset/

Note:

  1. Update (or create) import.ini file inside ckanext-bcgov/ckanext/bcgov/scripts/config. Add api_key, site_url options (they should be the same as in your CKAN .ini file).

  2. Create default vocabularies

    cd ckanext-bcgov/ckanext/bcgov/scripts
    $ python create_vocabs.py
    

Note: The following data files in ckanext-bcgov/ckanext/bcgov/scripts/data is required:

    edc-vocabs.json
  1. Create organizations

    $ cd ckanext-bcgov/ckanext/bcgov/scripts
    $ python create_orgs.py
    

Note: The following data files in ckanext-bcgov/ckanext/bcgov/scripts/data is required:

    org_suborg_sector_mapping_forEDC.csv


Originally converted from SVN Source

Original Repo Copyright 2015, Province of British Columbia.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].