mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix doc and make sure we get the --paste option
This commit is contained in:
parent
b35e368515
commit
1e8b375038
10
README.rst
10
README.rst
@ -121,18 +121,18 @@ to ensure that is to run this command from the same directory as your
|
||||
manage.py file.)
|
||||
|
||||
You can use the
|
||||
[--env](http://docs.gunicorn.org/en/latest/settings.html#raw-env) option
|
||||
`--env <http://docs.gunicorn.org/en/latest/settings.html#raw-env>`_ option
|
||||
to set the path to load the settings. In case you need it you can also
|
||||
add your application path to PYTHONPATH using the
|
||||
[--pythonpath](http://docs.gunicorn.org/en/latest/settings.html#pythonpath)
|
||||
`--pythonpath <http://docs.gunicorn.org/en/latest/settings.html#pythonpath>`_
|
||||
option.
|
||||
|
||||
paster serve
|
||||
++++++++++++
|
||||
Paste
|
||||
+++++
|
||||
|
||||
If you are a user/developer of a paste-compatible framework/app (as
|
||||
Pyramid, Pylons and Turbogears) you can use the gunicorn
|
||||
[--paste](http://docs.gunicorn.org/en/latest/settings.html#paste) option
|
||||
`--paste <http://docs.gunicorn.org/en/latest/settings.html#paste>`_ option
|
||||
to run your application.
|
||||
|
||||
For example:
|
||||
|
||||
@ -71,20 +71,17 @@ to ensure that is to run this command from the same directory as your
|
||||
manage.py file.)
|
||||
|
||||
You can use the
|
||||
[--env](http://docs.gunicorn.org/en/latest/settings.html#raw-env) option
|
||||
`--env <http://docs.gunicorn.org/en/latest/settings.html#raw-env>`_ option
|
||||
to set the path to load the settings. In case you need it you can also
|
||||
add your application path to PYTHONPATH using the
|
||||
[--pythonpath](http://docs.gunicorn.org/en/latest/settings.html#pythonpath)
|
||||
option.
|
||||
`--pythonpath <http://docs.gunicorn.org/en/latest/settings.html#pythonpath>`_ option.
|
||||
|
||||
|
||||
|
||||
paster serve
|
||||
------------
|
||||
Paste
|
||||
-----
|
||||
|
||||
If you are a user/developer of a paste-compatible framework/app (as
|
||||
Pyramid, Pylons and Turbogears) you can use the gunicorn
|
||||
[--paste](http://docs.gunicorn.org/en/latest/settings.html#paste) option
|
||||
`--paste <http://docs.gunicorn.org/en/latest/settings.html#paste>`_ option
|
||||
to run your application.
|
||||
|
||||
For example:
|
||||
|
||||
@ -1217,7 +1217,7 @@ class PythonPath(Setting):
|
||||
class Paste(Setting):
|
||||
name = "paste"
|
||||
section = "Server Mechanics"
|
||||
cli = ["--paster"]
|
||||
cli = ["--paste", "--paster"]
|
||||
meta = "STRING"
|
||||
validator = validate_string
|
||||
default = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user