summaryrefslogtreecommitdiff
path: root/docs/howto/deployment
diff options
context:
space:
mode:
authorCollin Anderson <collin@onetencommunications.com>2014-09-05 16:41:47 -0700
committerTim Graham <timograham@gmail.com>2014-09-05 20:36:35 -0400
commit77b3907d6dcd5ab0da01a782bb4b94bd6ca82b63 (patch)
tree674196669f2980fa2514516484f72379dba2b5ae /docs/howto/deployment
parentf7d3a6255c7ae3beb9ccdf6d20f6598061cd1bff (diff)
Fixed #23430 -- simplified gunicorn deployment docs.
Diffstat (limited to 'docs/howto/deployment')
-rw-r--r--docs/howto/deployment/wsgi/gunicorn.txt20
1 files changed, 7 insertions, 13 deletions
diff --git a/docs/howto/deployment/wsgi/gunicorn.txt b/docs/howto/deployment/wsgi/gunicorn.txt
index cd6e38f23b..0e50ac66b3 100644
--- a/docs/howto/deployment/wsgi/gunicorn.txt
+++ b/docs/howto/deployment/wsgi/gunicorn.txt
@@ -22,21 +22,15 @@ Running Django in Gunicorn as a generic WSGI application
When Gunicorn is installed, a ``gunicorn`` command is available which starts
the Gunicorn server process. At its simplest, gunicorn just needs to be called
-with the location of a WSGI application object.::
+with the location of a file containing a WSGI application object named
+`application`. So for a typical Django project, invoking gunicorn would look
+like::
- gunicorn [OPTIONS] APP_MODULE
+ gunicorn myproject.wsgi
-Where ``APP_MODULE`` is of the pattern ``MODULE_NAME:VARIABLE_NAME``. The
-module name should be a full dotted path. The variable name refers to a WSGI
-callable that should be found in the specified module.
-
-So for a typical Django project, invoking gunicorn would look like::
-
- gunicorn myproject.wsgi:application
-
-(This requires that your project be on the Python path; the simplest way to
-ensure that is to run this command from the same directory as your
-``manage.py`` file.)
+This will start one process running one thread listening on ``127.0.0.1:8000``.
+It requires that your project be on the Python path; the simplest way to ensure
+that is to run this command from the same directory as your ``manage.py`` file.
See Gunicorn's `deployment documentation`_ for additional tips.