Extension BC Gov CLI


Extension Basics

Title
BC Gov CLI
Name
ckanext-bcgov-cli
Type
Public extension
Description
Provides CLI tools for the BC Data Catalogue including vocabulary and organization creation via paster commands. ARCHIVED.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-11-01 22:10:29)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

ckanext-bcgov-cli

ARCHIVED/RETIRED - This repository was archived by the owner on Nov 2, 2021. It is now read-only.

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:

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

    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
1.0.0
Version release date
2021-11-01
Contact name
BC Government
Contakt email
Contact Url


Installation Guide

Configuration hints

ARCHIVED - Use this only for historical reference. Requires data files for vocabulary and organization setup.

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