Gunicorn

Python WSGI HTTP server for production deployment

javimosch Updated

File contents

gunicorn Plugin

Gunicorn ('Green Unicorn') is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model server for running Python web applications in production.

Common Commands

  • gunicorn myapp:app — serve a WSGI app on default 127.0.0.1:8000
  • gunicorn myapp:app -w 4 -b 0.0.0.0:8000 — serve with 4 workers
  • gunicorn myapp:app --reload — development with auto-reload
  • gunicorn --version — show version
  • gunicorn -c config.py myapp:app — use config file

javimosch/supercli/tree/main/plugins/gunicorn/skills/quickstart commit 43c88c895b

Frequently asked questions

npx skillmds@latest add javimosch/gunicorn