Dashboard that shows the current deployment state of the Apply for teacher training service.
Publicly accessible at https://apply-ops-dashboard.azurewebsites.net
Local development needs 3 environment variables:
AZURE_ACCESS_TOKEN
: an Azure Personal Access Token. It only needs the "Read" permissions for "Build".AZURE_USERNAME
: the email adress associated with the token (your DfE email address most likely)GITHUB_TOKEN
: a GitHub access token to avoid being rate limited. Does not need any permissions.
Run the app:
make start
Run the app in dev mode:
make start-dev
The app will be available on http://localhost:5000 for both the commands.
If you populate the env var DEPLOYERS
with a JSON array [{"displayName":, "slackUserId":}]
,
one will be chosen each day to be the nominated deployer and displayed on the
dashboard, along with a couple of reserve deployers in case they're ill or
away.
You can run the tests, such as they are, with:
bundle exec rspec
You can run Rubocop with:
bundle exec rubocop
Auto-deploy to Heroku is set up from master.