nickjj / build-a-saas-app-with-flask

Learn how to build a production ready web app with Flask and Docker.
https://buildasaasappwithflask.com
MIT License
959 stars 189 forks source link

gunicorn does not run on windows #39

Closed Code4SAFrankie closed 4 years ago

Code4SAFrankie commented 4 years ago

gunicorn does not run on Windows 10 and I can't install docker because I only have Windows 10 Home Edition and docker requires Windows 10 Pro. So I'm trying to use waitress instead of gunicorn. Do you know what the equivalent command would be to:

gunicorn -b 0.0.0.0:8000 --access-logfile - "snakeeyes.app:create_app()"

for waitress?

I'm also not sure from which directory I am supposed to be running this command from.

nickjj commented 4 years ago

Hi,

You can install Docker on Windows 10 Home using Docker Toolbox from https://docs.docker.com/toolbox/. Over a thousand people who are taking the course are using that set up successfully.

Code4SAFrankie commented 4 years ago

Got it working with waitress-serve.exe --listen=*:8000 --call snakeeyes.app:create_app