Extension Transharvest


Extension Basics

Title
Transharvest
Name
ckanext-transharvest
Type
Public extension
Description
Harvester for term_translations
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-02-20 16:37:42)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-transharvest

This harvester has the purpose to transfer term translations from one CKAN instante to another.

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-transharvest.git#egg=ckanext-transharvest --src /home/www-data
cd /home/www-data/ckanext-transharvest
python setup.py develop

Make sure to add transharvest 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

Configuration

This harvester requires ckan_term_url in the configuration JSON. This is the base URL of a CKAN instance, that should be harvested for term translations. Please make sure, that this remote CKAN instance needs the ckanext-ogdch_actions, as this extensions provides the requires API for this harvester.

{
    "ckan_term_url": "http://datahub.io"
}

Run harvester

source /home/www-data/pyenv/bin/activate
paster --plugin=ckanext-transharvest transharvest gather_consumer -c development.ini &
paster --plugin=ckanext-transharvest transharvest fetch_consumer -c development.ini &
paster --plugin=ckanext-transharvest transharvest run -c development.ini
Version
1.0.1
Version release date
2014-02-20
Contact name
(not set)
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-transharvest.git#egg=ckanext-transharvest --src /home/www-data
cd /home/www-data/ckanext-transharvest
python setup.py develop

Make sure to add transharvest to ckan.plugins in your config file.

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