Simple command line utility to run Bjoern WSGI
|
3 years ago | |
---|---|---|
bjcli | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
setup.py | 3 years ago |
bjcli is a simple command line utility to run Bjoern WSGI server
pip install bjcli
bjcli -w 4 -i 127.0.0.1 -p 8088 app.wsgi
bjcli -w 4 -i unix:/path/to/socket app.wsgi
Argument | Description | Required | Default | Type |
---|---|---|---|---|
-w | Number of workers | False | 1 | int |
-i | Host | False | 127.0.0.1 | str |
-p | Port. If left blank and the host is an IP address, 8088 is assigned | False | None | None/int |
wsgi_app (first positional) | Module containing get_wsgi_application function | True | - | module |