From b0a09b85d54c200792f3f4f68ef47f29bc1a886e Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Thu, 15 Sep 2011 12:22:33 +0100 Subject: Add notes about how to make zipfiles downloadable (and provide for this in the rails-post-deply script) --- script/rails-post-deploy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'script/rails-post-deploy') 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 .. -- cgit v1.2.3