Files
notifications-admin/paas-failwhale/README.md

31 lines
900 B
Markdown
Raw Normal View History

2017-04-11 12:58:35 +01:00
### What is it?
This is a simple static error page to present to users in case of a (planned) downtime.
It is deployed as an individual app and remains dormant until a route is assigned to it.
### How do I use it?
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
2017-04-11 13:01:50 +01:00
cf map-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
cf unmap-route notify-admin [ENVIRONMENT-URL] --hostname www
2017-04-11 12:58:35 +01:00
To remove admin failwhale:
2017-04-11 13:01:50 +01:00
cf map-route notify-admin [ENVIRONMENT-URL] --hostname www
cf unmap-route notify-admin-failwhale [ENVIRONMENT-URL] --hostname www
2017-04-11 12:58:35 +01:00
2017-04-11 13:01:50 +01:00
Where [ENVIRONMENT-URL] would be one of:
2017-04-11 12:58:35 +01:00
2017-04-11 13:01:50 +01:00
- notify.works for preview
- notify-staging.works for staging
- notifications.service.gov.uk for production
2017-04-11 12:58:35 +01:00
2017-04-11 13:01:50 +01:00
**Make sure you are on the correct environment!**