Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 838 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 838 Bytes

ckanext-terriajs-preview

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/

Installation

  1. Clone this repo into /usr/lib/ckan/default/src (or equivalent dir for extensions)

  2. Activate Python virtual environment:

     . /usr/lib/ckan/default/bin/activate
     
     cd /usr/lib/ckan/default/src/ckanext-terriajs-preview
    
  3. Run setup:

     python setup.py develop
    

Configuration

Add terriajs_preview to CKAN .ini file, e.g.

ckan.plugins = ... terriajs_preview

TODO

  • Make TerriaJS configurable (add CKAN .ini file setting)
  • Document creation of TerriaJS map preview in CKAN UI