aboutsummaryrefslogtreecommitdiffstats
path: root/customising
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2014-06-13 14:21:07 +0100
committerDave Whiteland <dave@mysociety.org>2014-06-13 14:21:07 +0100
commitffc42d5c35d7f12d4ee8e7c8617caa26979ec2ef (patch)
treed68413081817a420a6d6e1aa72de430ded2d8e3e /customising
parent2a8f5134cb4a01971da64843557abfa75d87b36d (diff)
parent8a18a98927a59962d8f6214673c464abc16ea782 (diff)
Merge branch 'gh-pages-deploy-docs' into gh-pages
Diffstat (limited to 'customising')
-rw-r--r--customising/config.md22
1 files changed, 17 insertions, 5 deletions
diff --git a/customising/config.md b/customising/config.md
index 259ba7f00..ef3cb720d 100644
--- a/customising/config.md
+++ b/customising/config.md
@@ -637,15 +637,27 @@ THEME_URLS:
<a name="staging_site"><code>STAGING_SITE</code></a>
</dt>
<dd>
- Is this a staging or development site (1) or a live (production) site (0)?
- This controls whether or not the <code>rails-post-deploy</code> script
- will create the file <code>config/rails_env.rb</code> file to force
+ Is this a
+ <a href="{{site.baseurl}}glossary/#staging" class="glossary">staging</a> or
+ <a href="{{site.baseurl}}glossary/#development" class="glossary">development</a> site?
+ If not, it's a live <a href="{{site.baseurl}}glossary/#production" class="glossary">production</a>
+ site. This setting controls whether or not the <code>rails-post-deploy</code>
+ script will create the file <code>config/rails_env.rb</code> file to force
Rails into production environment.
<div class="more-info">
- <p>Example:</p>
+ <p>Examples:</p>
<ul class="examples">
<li>
- <code>STAGING_SITE: 1</code>
+ For staging or development:
+ <p>
+ <code>STAGING_SITE: 1</code>
+ </p>
+ </li>
+ <li>
+ For production:
+ <p>
+ <code>STAGING_SITE: 0</code>
+ </p>
</li>
</ul>
</div>