From 32c8158fdea07dad0e912f5d09b8a32780fefbe4 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Wed, 25 Jul 2012 16:16:35 +0000 Subject: [PATCH] website: collect-static for apache Deployment --- .hgignore | 1 + extras/website/website/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.hgignore b/.hgignore index 52aa51ffc..82fe35808 100644 --- a/.hgignore +++ b/.hgignore @@ -8,6 +8,7 @@ ~$ \.DS_Store$ ^extras/website/_build +^extras/website/site-static ^docs/_build ^dist/ ^versiontools diff --git a/extras/website/website/settings.py b/extras/website/website/settings.py index 844f94da2..26546b635 100644 --- a/extras/website/website/settings.py +++ b/extras/website/website/settings.py @@ -70,7 +70,7 @@ MEDIA_URL = '' # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/home/media/media.lawrence.com/static/" -STATIC_ROOT = '' +STATIC_ROOT = os.path.join(SITE_ROOT, '../site-static') # URL prefix for static files. # Example: "http://media.lawrence.com/static/"