CKAN extension for adding comments to datasets.
Anyone with an account can comment any public datasets. Users with modification access can delete comments from the dataset.
Some of the code is taken from ckanext-comments
If your extension works across different versions you can add the following table:
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.6 and earlier | not tested |
2.7 | not tested |
2.8 | not tested |
2.9 | not tested |
2.10.X | yes |
2.11.X | yes |
To install ckanext-ytp-comments:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
pip install git+https://github.com/csse-uoft/ckanext-ytp-comments#egg=ckanext-ytp-comments
-
Add
ckanext-ytp-comments
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Init DB
# Use your own path to the ckan.ini ckan -c /etc/ckan/default/ckan.ini ytp initdb
-
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo supervisorctl reload