aboutsummaryrefslogtreecommitdiff
path: root/dicoweb/INSTALL
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2013-04-09 19:59:50 +0200
committerWojciech Polak <polak@gnu.org>2013-04-09 20:01:47 +0200
commit11de8715829bd3744de9542dd77a6d658ba519d8 (patch)
treeb8afe4a8e29d2fbfbce2b53b0cde319aafbe5ad2 /dicoweb/INSTALL
parent8f61a0bf3cd35445dc5cb5c18faf69d3a1d32680 (diff)
downloaddico-11de8715829bd3744de9542dd77a6d658ba519d8.tar.gz
dico-11de8715829bd3744de9542dd77a6d658ba519d8.tar.bz2
Support Django 1.5.
Diffstat (limited to 'dicoweb/INSTALL')
-rw-r--r--dicoweb/INSTALL34
1 files changed, 4 insertions, 30 deletions
diff --git a/dicoweb/INSTALL b/dicoweb/INSTALL
index af5a4a5..46d7a32 100644
--- a/dicoweb/INSTALL
+++ b/dicoweb/INSTALL
@@ -14,6 +14,9 @@ Copyright (C) 2008-2010, 2012, 2013 Wojciech Polak
Rename 'settings-sample.py' to 'settings.py' and edit your
local Dicoweb site configuration.
+See https://docs.djangoproject.com/en/dev/howto/deployment/
+for usual Django applications deployment.
+
** The development/test server
------------------------------
@@ -35,41 +38,12 @@ the following output:
Apache configuration:
LoadModule wsgi_module modules/mod_wsgi.so
- WSGIScriptAlias / /usr/local/django/dicoweb/dicoweb.wsgi
+ WSGIScriptAlias / /usr/local/django/dicoweb/wsgi.py
Alias /static "/usr/local/django/dicoweb/static"
More detailed information is available at:
http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
-** Production server with mod_python
-------------------------------------
-
-Apache configuration:
-
- LoadModule python_module modules/mod_python.so
- <Location "/">
- SetHandler python-program
- PythonHandler django.core.handlers.modpython
- PythonPath "sys.path + ['/usr/local/django', '/usr/local/django/dicoweb']"
- SetEnv DJANGO_SETTINGS_MODULE dicoweb.settings
- PythonInterpreter dicoweb
- PythonDebug Off
- </Location>
-
- <Location "/static">
- SetHandler None
- </Location>
- <Location "/favicon.ico">
- SetHandler None
- </Location>
-
- <Directory "/usr/local/django/dicoweb/">
- AllowOverride All
- Options None
- Order allow,deny
- Allow from all
- </Directory>
-
Local Variables:

Return to:

Send suggestions and report system problems to the System administrator.