conda-forge / gunicorn-feedstock

A conda-smithy repository for gunicorn.
BSD 3-Clause "New" or "Revised" License
0 stars 13 forks source link

Windows support #33

Open h-vetinari opened 2 years ago

h-vetinari commented 2 years ago

It's already in the description that gunicorn is for unix, however, there's an old issue upstream that would solve this: https://github.com/benoitc/gunicorn/issues/524

phreed commented 11 months ago

There is an update to the gunicorn issue https://github.com/benoitc/gunicorn/pull/2643 An alternative is to use waitress in the Windows context. i.e. https://stackoverflow.com/a/48542020/7363740

Replace gunicorn command with waitress-serve, e.g.:

gunicorn --listen=*:8000 myapp.wsgi:application

...becomes...

waitress-serve --listen=*:8000 myapp.wsgi:application