website: collect-static for apache Deployment

This commit is contained in:
Oskar Hahn 2012-07-25 16:16:35 +00:00
parent 5d367dd635
commit 32c8158fde
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
~$ ~$
\.DS_Store$ \.DS_Store$
^extras/website/_build ^extras/website/_build
^extras/website/site-static
^docs/_build ^docs/_build
^dist/ ^dist/
^versiontools ^versiontools

View File

@ -70,7 +70,7 @@ MEDIA_URL = ''
# Don't put anything in this directory yourself; store your static files # Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS. # in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/" # Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = '' STATIC_ROOT = os.path.join(SITE_ROOT, '../site-static')
# URL prefix for static files. # URL prefix for static files.
# Example: "http://media.lawrence.com/static/" # Example: "http://media.lawrence.com/static/"