Cleaned up the controller plugin and started removing some cruft.
[ckanext-datagovau.git] / README.rst
1 This CKAN Extension customises a CKAN instance for the hosting of data.gov.au.
2
3 It comprises:
4
rgrp 5 * A CKAN Extension "plugin" at ``ckanext/datagovau/plugin.py`` which, when
6 loaded, overrides various settings in the core ``ini``-file to provide:
7 * A path to local customisations of the core templates
rgrp 8 * A custom Package edit form that defaults to cc-by licence
9 * A custom n3/rdf output format
10
11 * A cut down licenses.json file
12
13 Installation
14 ============
15
Ross Jones 16 To install this package, from your CKAN virtualenv, run the following from your CKAN base folder (e.g. ``pyenv/``)::
17
18 pip install -e git+https://github.com/okfn/ckanext-datagovau#egg=ckanext-datagovau
Ian Murray 19
20 Then activate it by setting ``ckan.plugins = datagovau`` in your main ``ini``-file.
rgrp 21
22 To add the cut down licenses.json set ``licenses_group_url = http://%(ckan.site_url)/licenses.json``
Seb Bacon 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
26
27