|
Alex Sadleir
|
1 |
This CKAN Extension customises a CKAN instance for the hosting of data.gov.au. |
|
|
2 |
|
|
|
3 |
It comprises: |
|
|
4 |
|
|
Alex Sadleir
|
5 |
* A custom Package edit form that defaults to cc-by licence |
|
|
6 |
* Replaces links with http/https protocol independent versions |
|
|
7 |
* Provides HTML to users to embed data previews on their own website |
|
Alex Sadleir
|
8 |
* A cut down licenses.json file |
|
|
9 |
|
|
Alex Sadleir
|
10 |
This extension is complimented by ckanext-agls for AGLS metadata and ckanext-googleanalytics for Google Analytics tracking of API usage |
|
Alex Sadleir
|
11 |
|
|
Seb Bacon
|
12 |
Installation |
|
|
13 |
============ |
|
|
14 |
|
|
|
15 |
To install this package, from your CKAN virtualenv, run the following from your CKAN base folder (e.g. ``pyenv/``):: |
|
|
16 |
|
|
Alex Sadleir
|
17 |
pip install -e git+https://github.com/okfn/ckanext-datagovau#egg=ckanext-datagovau |
|
John Glover
|
18 |
|
|
Alex Sadleir
|
19 |
Then activate it by setting ``ckan.plugins = datagovau`` in your main ``ini``-file. |
|
John Glover
|
20 |
|
|
Alex Sadleir
|
21 |
To add the cut down licenses.json set ``licenses_group_url = http://%(ckan.site_url)/licenses.json`` |
|
|
22 |
or copy ``ckanext/datagovau/theme/public/licenses.json`` to the same folder as your CKAN config ini file |
|
|
23 |
and set ``licenses_group_url = file://%(here)s/licenses.json`` |
|
|
24 |
|
|
John Glover
|
25 |
|
|
|
26 |
|