A text based captcha for the CKAN open data platform user registration form using http://textcaptcha.com.
Tested in CKAN 2.3 and 2.4
To install CKAN TextCaptcha:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-textcaptcha Python package into your virtual environment:
$ python setup.py install
Add textcaptcha
to the ckan.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
ckan.textcaptcha.url
option to the
/etc/ckan/default/production.ini
that defines textcaptcha api url.
For example
http://api.textcaptcha.com/YOUR_EMAIL.jsonTo install CKAN TextCaptcha for development, activate your CKAN virtualenv and do:
$ python setup.py develop
All dependencies will be installed automatically
This material is copyright © 2015 Link Web Services Pty Ltd
It is open and licensed under the GNU Affero General Public License (AGPL) v3.0 whose full text may be found at: