Forrest logo
back to context overview

gunicorn

List of commands for gunicorn:

  • gunicorn:tldr:41a34 gunicorn: Run Python web app.
    $ gunicorn ${import-path:app_object}
    try on your machine
    explain this command
  • gunicorn:tldr:45c31 gunicorn: Run app over HTTPS.
    $ gunicorn --certfile ${cert-pem} --keyfile ${key-pem} ${import-path:app_object}
    try on your machine
    explain this command
  • gunicorn:tldr:5b6aa gunicorn: Use 4 worker processes for handling requests.
    $ gunicorn --workers ${4} ${import-path:app_object}
    try on your machine
    explain this command
  • gunicorn:tldr:b1317 gunicorn: Use 4 worker threads for handling requests.
    $ gunicorn --threads ${4} ${import-path:app_object}
    try on your machine
    explain this command
  • gunicorn:tldr:b2f9c gunicorn: Turn on live reload.
    $ gunicorn --reload ${import-path:app_object}
    try on your machine
    explain this command
  • gunicorn:tldr:dbd43 gunicorn: Listen on port 8080 on localhost.
    $ gunicorn --bind ${localhost}:${8080} ${import-path:app_object}
    try on your machine
    explain this command
back to context overview