r/flask • u/TJ__Bravo • 13d 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.
3
2
u/WinQuick6677 13d ago
I'm not a professional developer, but found digital ocean app platform really intuitive and easy to setup.
1
1
u/Fun-Palpitation81 13d ago
I've self hosted, hosted through AWS, and hosted through Heroku.
Heroku was by far the simplest deployment - I linked my github and basically was as easy as git push origin master
1
1
u/jandrewbean94 11d ago
I host on pythonanywhere, free to start, cheap to upgrade, and you can host MySQL or Postgres for a small increase
5
u/Little-Chemical5006 13d 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