fix doc and make sure we get the --paste option

This commit is contained in:
benoitc 2014-03-09 07:28:46 -07:00
parent b35e368515
commit 1e8b375038
3 changed files with 11 additions and 14 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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