=============
ckanext-ontario_theme
Theme for Ontario ckan including:
- metadata schema
- forms
- templates and design
- validation for CSV resources
Requirements
.. list-table:: Related projects, repositories, branches and CKAN plugins
:header-rows: 1
- Project
- Github group/repo
- Branch
- Plugins
- CKAN
ckan/ckan <https://github.com/ckan/ckan/>_
- ckan-2.9.x
- N/A
- Scheming extension
open-data/ckanext-scheming <https://github.com/open-data/ckanext-scheming>_
- master
scheming_datasets
- Fluent extension
open-data/ckanext-fluent <https://github.com/open-data/ckanext-fluent>_
- master
fluent
- Validation extension
fork of frictionlessdata/ckanext-validation <https://github.com/ongov/ckanext-validation>_
- develop
validation
Directory Structure
Four directories compose this repository
- scripts: contains scripts to setup CKAN and required applications
- config: contains configuration files needed for installation and
configuration of CKAN
- ckanext: Ontario Theme Extension files for CKAN
- bin: contains CI scripts that are no longer being used. This
directory is pending deletion/cleanup
Plugins in this Extension:
ontario_theme base and internal-facing Ontario data catalogue
ontario_theme_external customizations for external facing Ontario
data catalogue (requires ontario_theme)
Installation
To install ckanext-ontario_theme for development, activate your CKAN
virtualenv and do:
::
git clone https://github.com/ongov/ckanext-ontario_theme.git
cd ckanext-ontario_theme
python setup.py develop
pip install -r dev-requirements.txt
python setup.py develop
pip install -r dev-requirements.txt
Update the development.ini (or production.ini) plugins:
::
# This relies on scheming