diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-09-15 12:22:33 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-09-15 12:22:59 +0100 |
commit | b0a09b85d54c200792f3f4f68ef47f29bc1a886e (patch) | |
tree | e07b0962acac0768c7f7d28a6108966f7626902f /script/rails-post-deploy | |
parent | 9aaf2baf65cedabd5f0ca7b5d91a77c47a25b11b (diff) |
Add notes about how to make zipfiles downloadable (and provide for this in the rails-post-deply script)
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index 1fe56212c..437b7255a 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -44,6 +44,10 @@ else fi mkdir -p log fi +# link the "downloads" directory in the cache to somewhere it can be served +mkdir -p $APP_DIR/cache/zips/download +ln -s $APP_DIR/cache/zips/download $APP_DIR/public/ + cd log touch development.log fastcgi.crash.log production.log test.log cd .. |