Fix trailing resource template tag
[ckanext-datagovau.git] / README.rst
Alex Sadleir 1 This CKAN Extension customises a CKAN instance for the hosting of data.gov.au.
2
3 It comprises:
4
5 * A CKAN Extension "plugin" at ``ckanext/datagovau/plugin.py`` which, when
rgrp 6 loaded, overrides various settings in the core ``ini``-file to provide:
Alex Sadleir 7 * A path to local customisations of the core templates
8 * A custom Package edit form that defaults to cc-by licence
Alex Sadleir 9 * A custom n3/rdf output format
10
Alex Sadleir 11 * A cut down licenses.json file
12
Seb Bacon 13 Installation
14 ============
15
16 To install this package, from your CKAN virtualenv, run the following from your CKAN base folder (e.g. ``pyenv/``)::
17
Alex Sadleir 18 pip install -e git+https://github.com/okfn/ckanext-datagovau#egg=ckanext-datagovau
John Glover 19
Alex Sadleir 20 Then activate it by setting ``ckan.plugins = datagovau`` in your main ``ini``-file.
John Glover 21
Alex Sadleir 22 To add the cut down licenses.json set ``licenses_group_url = http://%(ckan.site_url)/licenses.json``
23 or copy ``ckanext/datagovau/theme/public/licenses.json`` to the same folder as your CKAN config ini file
24 and set ``licenses_group_url = file://%(here)s/licenses.json``
25
John Glover 26
27