diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-01-10 14:58:59 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-01-10 17:16:22 +0000 |
commit | e973904765e4efb242d09d3d41d7f9eb0a294424 (patch) | |
tree | 9d19715611556f243bff86105a97289ee36fa31b /conf | |
parent | d5641749504a8eb9295f95bac412cb3737256476 (diff) |
Move staging flags to their own config variable.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-example | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index 3b2c597b9..71fbeea35 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -41,14 +41,16 @@ DO_NOT_REPLY_EMAIL: 'do-not-reply@example.org' # Whether this is a development site or not. It will mean e.g. templates/ # CSS modified times aren't cached STAGING_SITE: 1 -# Normally, a staging site will route all reports to the reporter on a -# development site (when STAGING_SITE is 1), to guard against sending fake -# reports to live places. Set this to 1 if you want a dev site to route -# reports as normal. -SEND_REPORTS_ON_STAGING: 0 -# Manual testing of multiple cobrands can be made easier by skipping some -# checks they have in them, if this variable is set -SKIP_CHECKS_ON_STAGING: 0 +# Developers may want a staging site to act differently from a live site. +# Possible flags include: +# - send_reports: Normally, a staging site will route all reports to the +# reporter, to guard against sending fake reports to live places. Set +# this to 1 if you want a staging site to route reports as normal. +# - skip_checks: Manual testing of multiple cobrands can be made easier by +# skipping some checks they have in them, if this variable is set. +STAGING_FLAGS: + send_reports: 0 + skip_checks: 0 # What to use as front page/alert example places placeholder # Defaults to High Street, Main Street |