From add10302fbe7661ee6e35504b598a7eb1a48b45c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 21 May 2013 17:17:40 -0400 Subject: minor update to the deployment documentation --- askbot/doc/source/deployment.rst | 2 +- askbot/doc/source/initial-configuration.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/askbot/doc/source/deployment.rst b/askbot/doc/source/deployment.rst index 1ca7553f..2d9403d8 100644 --- a/askbot/doc/source/deployment.rst +++ b/askbot/doc/source/deployment.rst @@ -83,7 +83,7 @@ Settings below are not perfect but may be a good starting point:: #aliases to serve static media directly #will probably need adjustment - Alias /static/ /path/to/django-project/static/ + Alias /m/ /path/to/django-project/static/ Alias /upfiles/ /path/to/django-project/askbot/upfiles/ Order deny,allow diff --git a/askbot/doc/source/initial-configuration.rst b/askbot/doc/source/initial-configuration.rst index abef2e48..23c3b5fd 100644 --- a/askbot/doc/source/initial-configuration.rst +++ b/askbot/doc/source/initial-configuration.rst @@ -27,6 +27,14 @@ and answering the questions. The `askbot-setup` script will ask you where to dep the directory where the Askbot project resides, you can answer `.` (`.` refers to the current directory). There may be an error message; ignore it. +After that - run command `collectstatic` - in order to place all the static files (.css and .js) +into one directory:: + + python manage.py collectstatic + +Remember to repeat this command any time you upgrade Askbot or other apps installed +in the same project. + .. note:: All Django sites have four project-wide files:: -- cgit v1.2.3-1-g7c22