This extensions includes custom modifications that have been made to http://data.gov.ro/ to support our own use cases.
Built for http://github.com/datagovro/ckan version.
To install ckanext-romania_theme:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Clone and install the ckanext-romania_theme Python package into your virtual environment:
python setup.py develop
Add
romania_theme
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
`
romania_theme.custom_resource_download_url = http://data.gv.ro
romania_theme.google_analytics_token_path = /etc/ckan/default/google-analytics-secrets.json
`
To run the tests, do:
nosetests --nologcapture --with-pylons=test.ini