Extension NHS England Skin


Extension Basics

Title
NHS England Skin
Name
ckanext-nhsengland
Type
Public extension
Description
A CKAN plugin providing CSS styling, static pages, and custom metadata fields for NHS England data catalogues.
CKAN versions
Download-Url (zip)
Last commit
6 years ago (2019-09-19 17:22:02)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

CKANEXT-NHSEngland

A plugin that modifies a basic CKAN instance to fulfil the following:

  • Some simple CSS updates to make a CKAN site look like it belongs to NHSEngland.
  • Static pages required by NHSEngland.
  • Custom fields for metadata associated with datasets required by NHSEngland.

Installation Instructions

  • Activate the CKAN virtualenv
  • Clone the repository to /usr/lib/ckan/default/src
  • cd into ckanext-nhsengland
  • $ python setup.py develop

Configure CKAN:

  • Add to ckan.plugins: nhsengland_skin
  • Change ckan.site_logo to: /images/nhsengland_logo.png

Resetting the datastore

To reset the datastore you can use the force-datastore paster command. This command will allow you to force reload on a single resource (if you provide its ID), or all resources in the system.

Force all resources to reload into datastore

paster --plugin=ckanext-nhsengland force-datastore -c /etc/ckan/default/production.ini

Force a single resource to reload into datastore

paster --plugin=ckanext-nhsengland force-datastore <ID> -c /etc/ckan/default/production.ini

Note: This command only submits the task to the datapusher.

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


Installation Guide

Configuration hints

Change ckan.site_logo to /images/nhsengland_logo.png

Plugins to configure (ckan.ini)
nhsengland_skin
CKAN Settings (ckan.ini)
# ckan.site_logo = /images/nhsengland_logo.png
DB migration to be executed
(not set)
<< back to Extensions