r/flask 14d ago

Ask r/Flask Deploy Flask App

Hi everyone, I'm new to web app development and have created a Flask-based application that requests data from a PostgreSQL database, which is then updated on a Vanilla JS-based frontend.

Currently, the application is running on my local Windows environment, and want to publish it so it can be accessed by everyone on the internet. I'm finding it challenging to choose the right path and tools.

My company has a Windows server on Azure. Should deploy the app on an server, or is there a simpler, better approach? Any documentation or tutorials on the recommended deployment path would be very helpful.

5 Upvotes

13 comments sorted by

View all comments

5

u/Little-Chemical5006 14d ago

My company have an nginx server setup and I found it pretty easy to incorporate my flask app with it using gunicorn. Just search gunicorn, nginx, flask on google and you should get a couple detail guide related to this approach

1

u/Haunting_Wind1000 10d ago

I think gunicorn is not supported on Windows, something like waitress could be used if looking to deploy on Windows.