rego is a registry application for OpenID Connect federations and entities.
Clone the github repo
git clone https://github.com/daserzw/rego
Create a virtualenv and activate it
python3 -mvenv venv
. venv/bin/activate
Install the app with pip (it will nicely handle dependencies)
pip install -e .
Run it
export FLASK_APP=rego
export FLASK_ENV=development
flask run
Open a browser and navigate to http://127.0.0.1:5000
.
Tests are done with pytest and coverage. In order to run the test just call pytest:
pytest
To measure the code coverage:
coverage run -m pytest