diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-21 17:17:40 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-21 17:17:40 -0400 |
commit | add10302fbe7661ee6e35504b598a7eb1a48b45c (patch) | |
tree | ade4d151505b411e539fb22fde9a070a224fb514 /askbot | |
parent | b2df0411650b508bd1c394294836fa4b2da994d6 (diff) | |
download | askbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.tar.gz askbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.tar.bz2 askbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.zip |
minor update to the deployment documentation
Diffstat (limited to 'askbot')
-rw-r--r-- | askbot/doc/source/deployment.rst | 2 | ||||
-rw-r--r-- | askbot/doc/source/initial-configuration.rst | 8 |
2 files changed, 9 insertions, 1 deletions
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/ <DirectoryMatch "/path/to/django-project/askbot/skins/([^/]+)/media"> 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:: |