summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-21 17:17:40 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-21 17:17:40 -0400
commitadd10302fbe7661ee6e35504b598a7eb1a48b45c (patch)
treeade4d151505b411e539fb22fde9a070a224fb514
parentb2df0411650b508bd1c394294836fa4b2da994d6 (diff)
downloadaskbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.tar.gz
askbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.tar.bz2
askbot-add10302fbe7661ee6e35504b598a7eb1a48b45c.zip
minor update to the deployment documentation
-rw-r--r--askbot/doc/source/deployment.rst2
-rw-r--r--askbot/doc/source/initial-configuration.rst8
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::