Extension Spc Pdh


Extension Basics

Title
Spc Pdh
Name
ckanext-spc-pdh
Type
Public extension
Description
CKAN repo for the Pacific Data Hub, an open data portal for datasets from the Pacific.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-06-22 10:13:32)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

=============

ckanext-spc

.. Put a description of your extension here: What does it do? What features does it have? Consider including some screenshots or embedding a video!


Requirements

  • ckanext-scheming <https://github.com/ckan/ckanext-scheming>_

Installation

.. Add any additional install steps to the list below. For example installing any non-Python dependencies or adding any required config settings.

To install ckanext-spc:

  1. Activate your CKAN virtual environment, for example::

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-spc and its requirements into your virtual environment::

    pip install ckanext-spc pip install -r dev-requirements.txt

  3. Add spc to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  4. For the SpcNadaHarvester to work, install this branch of ckanext-ddi: github.com/roly97/ckanext-ddi/tree/nada_harvester. Alternatively, install the original ckanext-ddi extension github.com/liip/ckanext-ddi and then replace the files ddiharvester.py and metadata.py with the changed files found in ckanext-ddi_changes directory in this repo.

  5. Update SOLR schema::

  6. Update DB schema::

    paster spc db-upgrade -c config.ini

  7. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload


Config Settings

Config options::

scheming.dataset_schemas = ckanext.spc.schemas:dataset.json

Development Installation

To install ckanext-spc for development, activate your CKAN virtualenv and do::

git clone https://github.com/DataShades/ckanext-spc.git
cd ckanext-spc
python setup.py develop
pi
Version
Version release date
(not set)
Contact name
Pacific Community (SPC)
Contakt email
Contact Url
(not set)


Installation Guide

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