Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cweedall/72dc82bafb86d14473ff9e766c4e845d to your computer and use it in GitHub Desktop.
Save cweedall/72dc82bafb86d14473ff9e766c4e845d to your computer and use it in GitHub Desktop.
`waitress` / `waitress-serve` is `gunicorn` alternative for Python-based WSGI web app (like Django) on Windows
# Run a WSGI web app (like Django) on Windows
# see: https://stackoverflow.com/a/48542020/7363740
# Install if necessary
conda install waitress
pip install waitress
# Replace standard `gunicorn` command with `waitress-serve`
# for example: gunicorn --listen=*:8000 myapp.wsgi:application
waitress-serve --listen=*:8000 myapp.wsgi:application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment