Extension Salford


Extension Basics

Title
Salford
Name
ckanext-salford
Type
Public extension
Description
Repo for Salford's CKAN instance
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2015-06-04 12:57:12)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

===============

ckanext-salford

CKAN extension for https://www.salforddataquay.uk/


Installation

To install ckanext-salford:

  1. Activate your CKAN virtual environment, for example::

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-salford Python package into your virtual environment::

    pip install ckanext-salford

  3. Install the ckanext-esdstandards Python package into your virtual environment::

    pip install ckanext-esdstandards

  4. Add salford and esd to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  5. Add the licenses_group_url setting to your CKAN config file. For development use::

    licenses_group_url = http://127.0.0.1:5000/licenses.json

    For production use::

    licenses_group_url = https://www.salforddataquay.uk/licenses.json

  6. Install the Bower components::

    cd /ckanext/salford/fanstatic bower install

  7. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload


Configuration

Add the following configuration options to the ini file::

ckan.i18n_directory = /usr/lib/ckan/default/src/ckanext-salford/src/ckanext-salford/
ckan.locale_default = en_GB
ckan.locales_filtered_out = en

Importing Datasets from data.gov.uk

The etl.py script can import datasets from the Salford City Council publisher on data.gov.uk <http://data.gov.uk/publisher/salford-city-council>_ into a development or production CKAN instance. Usage::

pip install ckanapi ./etl.py -u ‘http://127.0.0.1:5000’ -a ./etl.py -u ‘https://www.salforddataquay.uk/’ -a

Note that only non-UKLP datasets are imported for now, ie INSPIRE datasets on data.gov.uk are not imported.

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

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