No description
- Python 96%
- HTML 3.7%
- Shell 0.2%
- Dockerfile 0.1%
|
|
||
|---|---|---|
| .github/workflows | ||
| event_horizon | ||
| tests | ||
| .coveragerc | ||
| .gitignore | ||
| Dockerfile | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| renovate.json | ||
| style.sh | ||
| wsgi.py | ||
Event Horizon
BPL Admin Dashboard
Configuration
-
create a
.envfile in the root directory -
add your configurations based on the environmental variables required in
settings.py -
additionally, the following environment variables need to be set in order for the Azure Active Directory OIDC authentication flow to work
- EVENT_HORIZON_CLIENT_KEY
- EVENT_HORIZON_CLIENT_SECRET
NOTE: The EVENT_HORIZON_CLIENT_KEY can be obtained from the relevant Azure App Registration (look for "Event Horizon (local/dev)"). The EVENT_HORIZON_CLIENT_SECRET can then be obtained from the "Secrets - Development" 1Password vault.
Running
poetry installpoetry run python wsgi.py
Testing
poetry run pytest tests