A service to help people connect to appropriate NHS services that meet their time, location and accessibility needs.
There are a number of solutions employed to host the application. The version of the application linked to from the live website is hosted in Azure, as is the staging environment.
As the application is being developed, every branch of code has its own test environment automatically built and deployed via Heroku's Review Apps
The head of master
is also automatically built and deployed into Heroku.
That is hosted here
Environment variables are expected to be managed by the environment in which the application is being run. This is best practice as described by twelve-factor.
In order to protect the application from starting up without the required env vars in place require-environment-variables is used to check all are present as part of the application start-up. If an env var is not found the application will fail to start and an appropriate message will be displayed.
- Is the application failing to start?
Ensure all expected environment variables are available within the environment