mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix code block formatting in docs
This commit is contained in:
parent
6da84c614d
commit
e0f177ca45
@ -34,6 +34,7 @@ This command will work with any Gunicorn CLI parameters or a config file - just
|
|||||||
pass them along as if you're directly giving them to Gunicorn:
|
pass them along as if you're directly giving them to Gunicorn:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
# Custom parameters
|
# Custom parameters
|
||||||
$ python gunicorn.app.wsgiapp exampleapi:app --bind=0.0.0.0:8081 --workers=4
|
$ python gunicorn.app.wsgiapp exampleapi:app --bind=0.0.0.0:8081 --workers=4
|
||||||
# Using a config file
|
# Using a config file
|
||||||
@ -44,6 +45,7 @@ time, and your compiled app should work with the entry point passed to it at
|
|||||||
run time.
|
run time.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
# Generic pex build command via bash from root of exampleapi project
|
# Generic pex build command via bash from root of exampleapi project
|
||||||
$ pex . -v -c gunicorn -o compiledapp.pex
|
$ pex . -v -c gunicorn -o compiledapp.pex
|
||||||
# Running it
|
# Running it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user