ngds / ckanext-ngds-bku03232018

CKAN extension for NGDS-specific customizations
Other
5 stars 13 forks source link

ckanext-ngds

This CKAN extension contains a number of functions that build integration with the National Geothermal Data System (NGDS).

The National Geothermal Data System (NGDS) supports the storage and search of information resources relevant to the discovery, understanding, and utilization of geothermal energy. It is a network of data providers supplying data and metadata, with an aggregating feature that provides a single entry point for searching resources available through the system.

Fundamental Operating Modes

This extension is designed to run two different types of CKAN sites to serve two different purposes within the NGDS. Depending on the operating mode, a different set of plugins need to be enabled. Some dependencies on external CKAN extensions are required as well.

Plugins

This extension provides a number of plugins, each of which encapsulates a different aspect of NGDS functionality:

Extension Dependencies

This extension is dependent on other extensions provided by the Open Knowledge Foundation.

Installation

The installation of an entire CKAN system configured for ckanext-ngds on a clean, Ubuntu 12.04 server can be accomplished using a simple installation script. See here.

For users who wish to install ckanext-ngds alongside an existing CKAN system, or for developers interested in working with the code in this repository see this wiki.

Run Tests

This extension has 2 subpackages (CLient and Sysadmin). However the instructions below, applied for both of them).

Step 1

Before running tests, there are 2 configs files for test, need to be configured regarding the test environment of your machine:

Step 2

Command line to perform the tests:

$ cd ckanext-ngds/ckanext/ngds/client_or_sysadmin/
$ nosetests --ckan --with-pylons=test.ini tests/