mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 08:39:08 +01: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:
|
||||
|
||||
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
|
||||
============
|
||||
|
Loading…
Reference in New Issue
Block a user