aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-08-19 16:00:49 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-21 17:38:23 +0100
commit83b6c562a6d4ea65195f0cfd5d9bdc22c7a909a6 (patch)
tree7dcb79b5e0ae5aecbd77a2960ccdfc55b33c555b
parentb8fa8cf2156d621a4c4ffd656447b659aad3fb47 (diff)
Remove redundant asset precompilation.
rails-post-deploy will precompile assets if STAGING_SITE has been set to 0 in general.yml as instructed in ecc0fe6.
-rw-r--r--docs/installing/manual_install.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md
index 540ca61d1..10b9d86a9 100644
--- a/docs/installing/manual_install.md
+++ b/docs/installing/manual_install.md
@@ -385,17 +385,11 @@ You should run the `rails-post-deploy` script after each new software upgrade:
This installs Ruby dependencies, installs/updates themes, runs database
migrations, updates shared directories and runs other tasks that need to be run
-after a software update.
+after a software update, like precompiling static assets for a production install.
That the first time you run this script can take a *long* time, as it must
compile native dependencies for `xapian-full`.
-Precompile the static assets:
-
- sudo -u alaveteli \
- bash -c 'RAILS_ENV=production cd /var/www/alaveteli && \
- bundle exec rake assets:precompile'
-
Create the index for the search engine (Xapian):
sudo -u alaveteli RAILS_ENV=production \