mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-30 06:29:15 +02:00
add missing commands
This commit is contained in:
parent
31a1462b1d
commit
312951dad0
11
README.rst
11
README.rst
@ -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:
|
existing settings.py and urls.py files:
|
||||||
|
|
||||||
settings.py:
|
settings.py:
|
||||||
STATIC_URL = "/static/"
|
MEDIA_ROOT = '/var/www/media/'
|
||||||
|
MEDIA_URL = '/media/'
|
||||||
|
STATIC_ROOT = '/var/www/static/'
|
||||||
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'staticfiles',
|
'staticfiles',
|
||||||
@ -85,6 +88,12 @@ urls.py:
|
|||||||
from staticfiles.urls import staticfiles_urlpatterns
|
from staticfiles.urls import staticfiles_urlpatterns
|
||||||
urlpatterns += staticfiles_urlpatterns()
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
|
|
||||||
|
then do:
|
||||||
|
$ cd /var/www
|
||||||
|
$ mkdir static
|
||||||
|
$ cd static
|
||||||
|
$ ln -sf /path/to/helpdesk/static/helpdesk/ helpdesk
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
Loading…
x
Reference in New Issue
Block a user