aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-21 10:40:54 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-21 17:38:23 +0100
commit875aaa3742bb16fbac02667c68a3fb914c39e6e4 (patch)
tree73ffe6a9f7dbb72a68395cf7ba221b3bfd3abf7f /docs
parent84c197c9982948aaceb79f19389f517b499de80b (diff)
Add notes on how to run tests from a production install.
Diffstat (limited to 'docs')
-rw-r--r--docs/installing/manual_install.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index 25175f152..4c9897a7a 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -827,6 +827,15 @@ Check out the [next steps]({{ site.baseurl }}docs/installing/next_steps/).
be able to move on to the [next steps]({{ site.baseurl }}docs/installing/next_steps/), depending on how serious they are, but
ideally you should try to find out what's gone wrong.
+
+<div class="attention-box">
+ <strong>Note:</strong> If you have setup your install of Alaveteli for production, you will need to temporarily remove the file <code>config/rails_env.rb</code>, which is used to force the rails environment to production, and edit your <code>.bundle/config</code> file to remove the <code>BUNDLE_WITHOUT</code> line that excludes development dependencies. After you have done this, as the alaveteli user, run <code>bundle install</code>. You should then be able to run the tests. Don't forget to restore <code>config/rails_env.rb</code> when you're done. You will probably see some errors from cron jobs in the meantime, as they'll be running in development mode.
+
+</div>
+
+
+
+
* **glibc bug workaround**
There's a [bug in