TLDR
Enter a command. For example: trash cli, doctl balance, pio package.

gunicorn

 
Python WSGI HTTP Server. More information: https://gunicorn.org/.
 
  • Run Python web app:
     
    gunicorn {{import.path:app_object}}
     
  • Listen on port 8080 on localhost:
     
    gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}
     
  • Turn on live reload:
     
    gunicorn --reload {{import.path:app_object}}
     
  • Use 4 worker processes for handling requests:
     
    gunicorn --workers {{4}} {{import.path:app_object}}
     
  • Use 4 worker threads for handling requests:
     
    gunicorn --threads {{4}} {{import.path:app_object}}
     
  • Run app over HTTPS:
     
    gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{import.path:app_object}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.