Installation
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 | no |
| 2.10 | yes |
| 2.11 | yes |
| 2.12 | yes |
| master | yes |
The extension needs Python 3.10 or newer, and ckanext-tables 2.0.1 or newer, which renders the events dashboard.
Installation
-
Install ckanext-tables. If your package index doesn't offer version 2 yet, install it from GitHub:
pip install https://github.com/DataShades/ckanext-tables/archive/refs/tags/v2.0.1.tar.gz -
Install the extension from
PyPI:pip install -e . -
Enable the plugins in your CKAN configuration file (e.g.
ckan.iniorproduction.ini). The events dashboard is built on ckanext-tables, sotablesmust be enabled as well:ckan.plugins = ... tables event_audit ... -
Run DB migrations. They create the table used by the
postgresrepository:Runningckan db upgrade -p event_auditckan db upgradewithout-papplies the pending migrations of core CKAN and of all the plugins.ckan db pending-migrationsonly lists them, unless you add--apply. -
Configure the extension up to your needs and you're ready to go. See the documentation for more details about the configuration options. Read the Security page before you enable
store_payload_and_result.