Estensione per OpenDataNetwork.
Fornisce 2 plugin:
odn_theme
: customizzazione GUIodn_harvest
: ridefinisce alcuni comportamenti dell'harvester spaziale.
Sviluppato e testato su CKAN 2.5.2.
Richiede che sia installato il plugin spatial-harvester.
To install ckanext-odn:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-odn Python package into your virtual environment:
pip install ckanext-odn
Add
odn_theme
andodn_harvest
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
).Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
odn.map_link
The URL where the map link in the home page should point to. E.g.:
odn.map_link = http://www.opendatanetwork.it/tolomeo/html/servizi/cerco/cerco.html?paramPreset=Cerco
To install ckanext-odn for development, activate your CKAN virtualenv and do:
git clone https://github.com/geosolution-it/ckanext-odn.git cd ckanext-odn python setup.py develop pip install -r dev-requirements.txt