| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This extension provides the cli customized features on the BC Data Catalogue, such as creating vocab or organizations via paster
Activate virtual environment, e.g.
$ . /usr/lib/ckan/default/bin/activate
Install the extension. Switch to ckanext-bcgov-cli extension directory and run the following command:
python setup.py develop
Create default vocabularies
cd ckanext-bcgov-cli/ckanext/bcgov/cli/scripts $ python create_vocabs.py
Note: The following data files in ckanext-bcgov-cli/ckanext/bcgov/cli/scripts/data is required:
edc-vocabs.json
Create organizations
$ cd ckanext-bcgov-cli/ckanext/bcgov/cli/scripts $ python create_orgs.py
Note: The following data files in ckanext-bcgov/ckanext/bcgov/cli/scripts/data is required:
org_suborg_sector_mapping_forEDC.csv Original Repo Copyright 2018, Province of British Columbia.
| Back | FazBrowse Home | New Git URL |