FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bcgov/ckanext-bcgov-cli: BCGov Cli CKAN Extension · GitHub

This repository was archived by the owner on Nov 2, 2021. It is now read-only.
/ ckanext-bcgov-cli Public archive

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-bcgov-cli

This extension provides the cli customized features on the BC Data Catalogue, such as creating vocab or organizations via paster

Installation

  1. Activate virtual environment, e.g.

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

    python setup.py develop
    
  3. 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
  1. 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.

About

BCGov Cli CKAN Extension

Topics

Resources

Stars

0 stars

Watchers

8 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL