Skip to main content

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 into a development or production CKAN instance. Usage:

pip install ckanapi
./etl.py -u 'http://127.0.0.1:5000' -a <your_api_key>
./etl.py -u 'https://www.salforddataquay.uk/' -a <your_api_key>

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

Release files for ckanext-salford 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-salford 0.0.2
File Size Uploaded
ckanext-salford-0.0.2.tar.gz 23.2 kB Details

Release files / ckanext-salford-0.0.2.tar.gz

Download URL ckanext-salford-0.0.2.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
26d3f8cc69d149d3553a7ad64432c8c7ec7862b11a432193349e3c2e06866d92
BLAKE2b-256 checksum
How to use checksums
b26b9f4a83f64c2a71db9fcf3d8b9c9521d9a71e4d4c0d95aa7d543984ad237a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page