Update docs about how to enable and disable failwhale

This commit is contained in:
Athanasios Voutsadakis
2018-01-04 11:02:18 +00:00
parent d9f6554956
commit 85c7ecfe64

View File

@@ -10,21 +10,17 @@ It should already be deployed, but if not you can deploy it by running
cf push notify-admin-failwhale
To direct traffic to it you need to update the routes by running
To enable it you need to run
cf map-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
cf unmap-route notify-admin [ENVIRONMENT-URL] --hostname www
make <environment> enable-failwhale
To remove admin failwhale:
and to disable it
cf map-route notify-admin [ENVIRONMENT-URL] --hostname www
cf unmap-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
make <environment> disable-failwhale
Where [ENVIRONMENT-URL] would be one of:
Where <environment> is any of
- notify.works for preview
- notify-staging.works for staging
- notifications.service.gov.uk for production
**Make sure you are on the correct environment!**
- preview
- staging
- production