mirror of
https://github.com/ogdch/ckanext-noregistration.git
synced 2026-08-25 21:54:19 +00:00
Plugin to disable user registration on a CKAN instance | Read-only mirror of https://github.com/ogdch/ckanext-noregistration — Bundesamt für Statistik. Issues & pull requests at the source.
- Python 55.4%
- HTML 22.5%
- Shell 22.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| ckanext | ||
| .gitignore | ||
| .travis.yml | ||
| build.sh | ||
| LICENSE | ||
| pip-requirements.txt | ||
| pre-commit.sh | ||
| README.md | ||
| setup.cfg | ||
| setup.py | ||
ckanext-noregistration
Plugin to disable user registration on a CKAN instance (based on this answer on StackOverflow)
Installation
Use pip to install this plugin. This example installs it in /home/www-data
source /home/www-data/pyenv/bin/activate
pip install -e git+https://github.com/ogdch/ckanext-noregistration.git#egg=ckanext-noregistration --src /home/www-data
cd /home/www-data/ckanext-noregistration
python setup.py develop
Make sure to add noregistration to ckan.plugins in your config file.
For development
- install the
pre-commit.shscript as a pre-commit hook in your local repositories: **ln -s ../../pre-commit.sh .git/hooks/pre-commit