Extension White Rock


Extension Basics

Title
White Rock
Name
ckanext-whiterock
Type
Public extension
Description
CKAN extension for the City of White Rock, providing custom CSS, pages, templates, licence, predefined extra fields, and external visualization tool support.
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2015-06-14 15:03:05)
Url to repo
Category
Regional Government Themes


Background Infos

Description (long)
Show details

White Rock CKAN extension

CKAN extension for the implementation of the White Rock City.

The extension contains the following features:

  • Add a custom CSS file
  • Add custom pages (contact & suggest dataset forms + follow page) with implementation of iRoutes
  • Add public file (images)
  • Add custom licence
  • Add predefined extra fields at the dataset level
  • Support custom templates

Prerequisite

This extension needs the stats extension to be activated with the tracking options. Some links (in the footer) also need the ckanext-pages extension.

pip install -e git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages

Configure the plugins:

ckan.plugins = ... stats pages ...
ckan.tracking_enabled = true

The extension has been developed and tested to run with CKAN 2.2.

Installation

Install the extension from GitHub:

pip install -e git+https://github.com/opennorth/ckanext-whiterock.git#egg=ckanext-whiterock

Add the extension in the configuration file:

ckan.plugins = ... wrcommon wrpages wrfacet

Add the custom licence file:

licenses_group_url = file:///path/to/extension/ckanext-whiterock/ckanext/whiterock/licences.json

Set up jobs

Cron jobs for tracker and index rebuilding:

@hourly /usr/lib/ckan/default/bin/paster --plugin=ckan tracking update -c /etc/ckan/default/production.ini > /dev/null
@hourly /usr/lib/ckan/default/bin/paster --plugin=ckan search-index rebuild -r -c /etc/ckan/default/production.ini > /dev/null
Version
Version release date
(not set)
Contact name
Open North
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Repository archived on Mar 8, 2025. Requires stats extension with tracking enabled and ckanext-pages. Set up cron jobs for tracking and index rebuilding.

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