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:
$ . /usr/lib/ckan/default/bin/activate
Install the extension. Switch to ckanext-bcgov extension directory and run:
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 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
Create default vocabularies:
cd ckanext-bcgov/ckanext/bcgov/scripts
$ python create_vocabs.py
Create organizations:
$ python create_orgs.py
Originally converted from SVN Source.
Original Repo Copyright 2015, Province of British Columbia.