aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-deploy-before-down
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2014-01-21 12:47:25 +0000
committerMark Longair <mhl@pobox.com>2014-01-23 15:35:55 +0000
commit73020ca44d1242730d9423c335e5fb5fc14482e8 (patch)
tree6a893183f3308cd097402020b6c5d40f4b7c0e0a /script/rails-deploy-before-down
parent0b34cb567620874984974e639552d5dd49836f03 (diff)
Add a script to switch mySociety deployments to using shared files
This is required by our switch to timestamped-based deploys. There are certain files and directories (e.g. cache, the Xapian databases, generated graphs) that should be shared between deployments, rather than recreating them when creating the next deployment in a new directory. This script should be run as a one-off before switching an instance to using timestamped deploys, to ensure that the existing data is stored in the shared subdirectory of the vhost directory, so that any future deployment can simply create symlinks into the shared directory.
Diffstat (limited to 'script/rails-deploy-before-down')
0 files changed, 0 insertions, 0 deletions