Extension Zhstat


Extension Basics

Title
Zhstat
Name
ckanext-zhstat
Type
Public extension
Description
Harvester for the Statistical Office of Canton of Zurich
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-02-17 13:29:41)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-zhstat

Harvester for the Statistical Office of Canton of Zurich

Installation

Use pip to install this plugin. This example installs it in /home/www-data

source /home/www-data/pyenv/bin/activate
pip install -e git+https://github.com/ogdch/ckanext-zhstat.git#egg=ckanext-zhstat --src /home/www-data
cd /home/www-data/ckanext-zhstat
pip install -r pip-requirements.txt
python setup.py develop

Make sure to add zhstat and zhstat_harvester to ckan.plugins in your config file.

For development

  • install the pre-commit.sh script as a pre-commit hook in your local repositories: ** ln -s ../../pre-commit.sh .git/hooks/pre-commit

Run harvester

source /home/www-data/pyenv/bin/activate
paster --plugin=ckanext-zhstat harvester gather_consumer -c development.ini &
paster --plugin=ckanext-zhstat harvester fetch_consumer -c development.ini &
paster --plugin=ckanext-zhstat harvester run -c development.ini
Version
1.0.1
Version release date
2014-02-20
Contact name
OGD Switzerland
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Use pip to install this plugin. This example installs it in /home/www-data

source /home/www-data/pyenv/bin/activate
pip install -e git+https://github.com/ogdch/ckanext-zhstat.git#egg=ckanext-zhstat --src /home/www-data
cd /home/www-data/ckanext-zhstat
pip install -r pip-requirements.txt
python setup.py develop

Make sure to add zhstat and zhstat_harvester to ckan.plugins in your config file.

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