Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deploy Flask apps on Windows...
#1
Question 
Hi everyone,

I created a small Flask application. Thanks to this community btw !

It work really well in local. But now I would like to host it to make it available WWW.

The tricky thing is I'm under Windows... (I'm studying Linux meanwhile but still a big noob :) )

I'm currently using Waitress (as it's support windows). but really don't mind to switch if needed.

but I have no ideas how:
  • make it available from a domain : www.exemple.com
  • support https
  • run additional flask apps

If you have any ideas or where to look... ?

Thanks.
[Image: NfRQr9R.jpg]
Reply
#2
(Aug-08-2021, 07:06 AM)SpongeB0B Wrote: It work really well in local. But now I would like to host it to make it available WWW.

The tricky thing is I'm under Windows... (I'm studying Linux meanwhile but still a big noob :) )
Deploying Flask on Windows A sad and painful journey of self-reflection.

So i have never tried using Windows as in link over to Deploy,
in Flask can develop the application fully with the build in development server on Windows.
If have make something that want to share with the world should look a using a Host for this.
Then there is Linux that is used,but if using Python friendly friendly host there is tutorial/step on how to do this

So a good cheap host DigitalOcean,this is the setup i like using GuniCorn(alternative uWSGI) and Nginx.
How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 20.04
On DigitalOcean you have control over all setup(good and bad) as start on Blank Ubuntu or Distro of choice,
can span serval Droplets so i tried running 3 Flask application(all can have different setup) at same time no problem

Herko Python(Flask)
So they will do some setup for you like Nginx stuff.

Not messing with server setup AWS Lambda
Zappa - Serverless Python
AWS Lambda Wrote:AWS Lambda lets you run code without provisioning or managing servers.
You pay only for the compute time you consume - there is no charge when your code is not running.
Reply
#3
I've used Heroku for my personal projects because their free plan is good enough for my needs (though I'd probably pay if I needed to).
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Information Python for web apps - where to start? a1ch3myst 6 2,489 Jul-28-2023, 03:46 PM
Last Post: LaverneDejardin
  Using Python Embedded with Flask Restplus API : to deploy on IIS gaurav_umang 1 2,256 Nov-18-2021, 01:35 AM
Last Post: Larz60+
Exclamation Quick Help - Deploy Flask App on Google Cloud Madoo 0 1,476 Nov-07-2020, 01:43 PM
Last Post: Madoo
  python 3.7 on windows using flask and flask-sqlalchemy. Alpy 2 3,997 Aug-12-2020, 07:24 PM
Last Post: Alpy
  Flask - IIS Get Windows User Name beachdogvet 0 4,963 Feb-28-2020, 12:37 PM
Last Post: beachdogvet
  Flask Streaming not working on IIS Windows Revencu 0 2,298 Nov-09-2019, 10:31 PM
Last Post: Revencu
  Deploy flask app on Heroku Prince_Bhatia 0 4,032 Feb-20-2019, 09:05 AM
Last Post: Prince_Bhatia
  How to deploy flask on wamp Prince_Bhatia 1 7,176 Jan-30-2019, 02:48 PM
Last Post: snippsat
  How to deploy Django application on Apache2 server deepag 0 2,044 Jan-23-2019, 05:09 AM
Last Post: deepag
  Best way to create Apps in django API Norvegat 0 2,612 Sep-18-2018, 10:39 PM
Last Post: Norvegat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020