A CKAN extension which provides with data definition and logic for datasets
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
pip install -r requirements.txt
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:
and 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
Tests are found on ckanext/odm_dataset/tests and can be run with
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: