Extension Bcgov-cli


Extension Basics

Title
Bcgov-cli
Name
ckanext-bcgov-cli
Type
Public extension
Description
BCGov Cli CKAN Extension
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-11-01 21:10:29)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

Lifecycle:Retired

Join us on Slack

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
    
  4. 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.

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
bcgov_cli
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions