Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OpenDevelopmentMekong/ckanext-odm_dataset
A CKAN extension which provides with template files and logic to implement OD Mekong's datasets
https://github.com/OpenDevelopmentMekong/ckanext-odm_dataset
Last synced: about 1 month ago
JSON representation
A CKAN extension which provides with template files and logic to implement OD Mekong's datasets
- Host: GitHub
- URL: https://github.com/OpenDevelopmentMekong/ckanext-odm_dataset
- Owner: OpenDevelopmentMekong
- Created: 2014-09-03T21:24:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-14T12:53:56.000Z (about 6 years ago)
- Last Synced: 2024-08-01T12:35:36.031Z (4 months ago)
- Language: JavaScript
- Homepage: http://data.opendevelopmentmekong.net
- Size: 1.18 MB
- Stars: 1
- Watchers: 16
- Forks: 1
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - OpenDevelopmentMekong/ckanext-odm_dataset - A CKAN extension which provides with template files and logic to implement OD Mekong's datasets (others)
README
ckanext-odm_dataset
=================[![Build Status](https://travis-ci.org/OpenDevelopmentMekong/ckanext-odm_dataset.svg?branch=master)](https://travis-ci.org/OpenDevelopmentMekong/ckanext-odm_dataset)
A CKAN extension which provides with data definition and logic for datasets
# Installation
In order to install this CKAN Extension:
* clone the ckanext-odm_dataset folder to the src/ folder in the target CKAN instance. NOTE: This repository contains some submodules, hence do not forget to include the --recursive flag for the git clone.
```
git clone --recursive https://github.com/OpenDevelopmentMekong/ckanext-odm_dataset.git
cd ckanext-odm_dataset
```* Install dependencies
pip install -r requirements.txt
* Setup plugin
python setup.py develop
# This theme uses ckanext-scheming and ckanext-fluent
In order for this theme to function properly, following CKAN extensions need to be installed:
ckanext-scheming: https://github.com/ckan/ckanext-scheming
ckanext-fluent: https://github.com/ckan/ckanext-fluentand following variables added to the ckan config file (development.ini/production.ini):
```
scheming.dataset_schemas = ckanext.odm_dataset:odm_dataset_schema.json
scheming.presets = ckanext.odm_dataset:odm_presets.json
ckanext.fluent:presets.json
scheming.dataset_fallback = false```
# Testing
Tests are found on ckanext/odm_dataset/tests and can be run with ```nosetest```
### Continuous deployment
Everytime code is pushed to the repository, travis will run the tests available on **/tests**. In case the code has been pushed to **master** branch and tests pass, the **_ci/deploy.sh** script will be called for deploying code in CKAN's DEV instance. Analog to this, and when code from **master** branch has been **tagged as release**, travis will deploy to CKAN's PROD instance automatically.
# Copyright and License
This material is copyright (c) 2014-2015 East-West Management Institute, Inc. (EWMI).
It is open and licensed under the GNU Affero General Public License (AGPL) v3.0 whose full text may be found at:
http://www.fsf.org/licensing/licenses/agpl-3.0.html