quick usage help

This commit is contained in:
Benoit Chesneau 2009-12-27 14:15:52 +01:00
parent 6cda6a868e
commit 6730cb2b03
3 changed files with 31 additions and 7 deletions

View File

@ -1,3 +1,2 @@
include LICENSE
include README.txt
include README.md
include README.txt

View File

@ -1,4 +0,0 @@
gunicorn - Green Unicorn
========================
The beginnigs of a port of [Unicorn](http://unicorn.bogomips.org/) in Python.

View File

@ -1,2 +1,31 @@
gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and nothing else.
This is a port of Unicorn (http://unicorn.bogomips.org/) in Python.
This is a port of Unicorn (http://unicorn.bogomips.org/) in Python.
Install
-------
Run command :
$ python setup.py install
Use gunicorn:
-------------
$ gunicorn --help
Usage: gunicorn [OPTIONS] APP_MODULE
Options:
--host=HOST Host to listen on. [127.0.0.1]
--port=PORT Port to listen on. [8000]
--workers=WORKERS Number of workers to spawn. [1]
-h, --help show this help message and exit
Eample with test app :
$ cd examples
$ gunicorn --workers=2 test:app