Difference between revisions of "Flask from command line"

From ProgZoo
Jump to navigation Jump to search
Line 8: Line 8:


<htmltag tagname="video" src="videos/flask_on_linux.mp4" width="400px" controls ></htmltag>
<htmltag tagname="video" src="videos/flask_on_linux.mp4" width="400px" controls ></htmltag>
==Linux: Running flask for production under uwsgi==
Your service will be more reliable if you run using uwsgi:
<htmltag tagname="video" src="videos/uwsgi.mp4" width="400px" controls ></htmltag>

Revision as of 21:37, 18 September 2021

Windows: Install python and flask, run the first program

Get python flask going on windows:

Linux: Install flask, tunnel into debug version

Get python flask going on a remote linux server:

Linux: Running flask for production under uwsgi

Your service will be more reliable if you run using uwsgi: