mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Example application's module and WSGI callable is actually test:app
This commit is contained in:
parent
d63b6015ef
commit
20c0f03843
@ -14,9 +14,9 @@ WSGI applications
|
||||
Thirty seconds to launch the `example application`_ packaged with Gunicorn::
|
||||
|
||||
$ cd /path/to/gunicorn/examples/
|
||||
$ gunicorn --workers=2 test:application
|
||||
$ gunicorn --workers=2 test:app
|
||||
|
||||
The module ``test:application`` specifies the complete module name and WSGI callable. You can replace it with anything that is available on your ``PYTHONPATH`` like such::
|
||||
The module ``test:app`` specifies the complete module name and WSGI callable. You can replace it with anything that is available on your ``PYTHONPATH`` like such::
|
||||
|
||||
$ cd ~/
|
||||
$ gunicorn --workers=12 awesomeproject.wsgi.main:main_app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user