add missing commands

This commit is contained in:
Andreas Kotowicz 2011-05-03 20:33:37 +02:00 committed by Ross Poulton
parent 31a1462b1d
commit 312951dad0

View File

@ -71,7 +71,10 @@ If you are running django 1.2.x then you will need to install django-staticfiles
existing settings.py and urls.py files:
settings.py:
STATIC_URL = "/static/"
MEDIA_ROOT = '/var/www/media/'
MEDIA_URL = '/media/'
STATIC_ROOT = '/var/www/static/'
STATIC_URL = '/static/'
INSTALLED_APPS = (
'staticfiles',
@ -85,6 +88,12 @@ urls.py:
from staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()
then do:
$ cd /var/www
$ mkdir static
$ cd static
$ ln -sf /path/to/helpdesk/static/helpdesk/ helpdesk
Installation
============