mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
update README.
This commit is contained in:
parent
8dd0f9e881
commit
ae0416619f
13
README.rst
13
README.rst
@ -51,6 +51,19 @@ For django projects use the `gunicorn_django` command::
|
|||||||
$ cd yourdjangoproject
|
$ cd yourdjangoproject
|
||||||
$ gunicorn_django --workers=2
|
$ gunicorn_django --workers=2
|
||||||
|
|
||||||
|
or use `run_gunicorn` command.
|
||||||
|
|
||||||
|
add `gunicorn` to INSTALLED_APPS in the settings file::
|
||||||
|
|
||||||
|
INSTALLED_APPS = (
|
||||||
|
...
|
||||||
|
"gunicorn",
|
||||||
|
)
|
||||||
|
|
||||||
|
Then run::
|
||||||
|
|
||||||
|
python manage.py run_gunicorn
|
||||||
|
|
||||||
Paste-compatible projects
|
Paste-compatible projects
|
||||||
+++++++++++++++++++++++++
|
+++++++++++++++++++++++++
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user