ckanext-stadtzh-theme
CKAN theme for the City of Zurich (data.stadt-zuerich.ch).
Features
- Custom theme for the Open Data Portal of the City of Zurich
- Autosuggestion logic via Solr
/suggest handler
- Action
ogdzh_autosuggest with params q (search term) and cfq (facet context)
- Markdown snippets for resources
- SQL Workbench badges
- URL encoding features
Paster Commands
cleanup_datastore: Finds orphaned datastore tables and deletes rows to free DB space
cleanup_filestore: Finds orphaned storage files/directories and deletes them
Requirements
Installation
To install ckanext-stadtzh-theme:
- Activate your CKAN virtual environment.
- Clone the source and install it:
git clone https://github.com/opendatazurich/ckanext-stadtzh-theme.git
cd ckanext-stadtzh-theme
pip install -e .
pip install -r requirements.txt
- Add
stadtzhtheme to the ckan.plugins setting in your CKAN config file.
- Restart CKAN.
Live Instance
https://data.stadt-zuerich.ch/
License
AGPL-3.0