This is a work in progress and should not be used in production
This extension requires an instance of TerriaJS to be running locally on http://localhost:3001
You can follow the instructions here to set that up:
https://docs.terria.io/guide/getting-started/
-
Clone this repo into
/usr/lib/ckan/default/src
(or equivalent dir for extensions) -
Activate Python virtual environment:
. /usr/lib/ckan/default/bin/activate cd /usr/lib/ckan/default/src/ckanext-terriajs-preview
-
Run setup:
python setup.py develop
Add terriajs_preview
to CKAN .ini
file, e.g.
ckan.plugins = ... terriajs_preview
- Make TerriaJS configurable (add CKAN
.ini
file setting) - Document creation of TerriaJS map preview in CKAN UI