No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 96%
  • HTML 3.7%
  • Shell 0.2%
  • Dockerfile 0.1%
Find a file
backwardspy 8572c0425b
Some checks failed
test / test (push) Failing after 36m31s
chore: replace black with ruff (#253)
2024-04-18 16:25:50 +01:00
.github/workflows chore: replace black with ruff (#253) 2024-04-18 16:25:50 +01:00
event_horizon chore: replace black with ruff (#253) 2024-04-18 16:25:50 +01:00
tests Upgrade CI, Remove Linkerd Await (#235) 2024-04-18 13:44:38 +01:00
.coveragerc BPL-747 Migrate from Pipenv to Poetry 2022-09-27 14:49:28 +01:00
.gitignore BPL-315 add campaign status change actions 2021-12-16 12:45:38 +02:00
Dockerfile Update ghcr.io/binkhq/python Docker tag to v3.12 (#249) 2024-04-18 15:23:33 +01:00
poetry.lock chore: replace black with ruff (#253) 2024-04-18 16:25:50 +01:00
pyproject.toml chore: replace black with ruff (#253) 2024-04-18 16:25:50 +01:00
README.md BPL-747 Migrate from Pipenv to Poetry 2022-09-27 14:49:28 +01:00
renovate.json Configure Renovate (#234) 2024-04-18 14:01:46 +01:00
style.sh chore: replace black with ruff (#253) 2024-04-18 16:25:50 +01:00
wsgi.py BPL-747 Migrate from Pipenv to Poetry 2022-09-27 14:49:28 +01:00

Event Horizon

BPL Admin Dashboard

Configuration

  • create a .env file 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 install
  • poetry run python wsgi.py

Testing

  • poetry run pytest tests