Send a detailed email notification about followed datasets
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.6 and earlier | not tested |
2.7 | not tested |
2.8 | not tested |
2.9 | yes |
To install ckanext-dataset-subscriptions:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone https://github.com/fjelltopp/ckanext-dataset-subscriptions.git cd ckanext-dataset-subscriptions pip install -e . pip install -r requirements.txt
-
Add
dataset-subscriptions
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Configure email notifications in CKAN: https://docs.ckan.org/en/2.9/maintaining/email-notifications.html
-
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
None at present
To install ckanext-dataset-subscriptions for development, activate your CKAN virtualenv and do:
git clone https://github.com/fjelltopp/ckanext-dataset-subscriptions.git
cd ckanext-dataset-subscriptions
python setup.py develop
pip install -r dev-requirements.txt
To run the tests, do:
pytest --ckan-ini=test.ini