Python Tutorial | Flask + Gunicorn Hello World

preview_player
Показать описание
The default development server for flask is not suited for production environments. Gunicorn is a simple WSGI client written in pure python. This video is a general introduction to running a flask application with Gunicorn.

Рекомендации по теме
Комментарии
Автор

Great tutorial. Simple, concise and to the point.

cheatsheet
Автор

straight to the point, , not waisting a second in the video, thanks

essamazzam
Автор

Thank you for the excellent tutorial! Just a suggestion for future videos: please increase your text size, was really difficult to see the code you were typing in VSCode.

EnglishRain
Автор

Super simple but a great intro! You have great potential as a youtuber!

erikjones
Автор

Hey Andrew, I just saw that you recently started uploading videos. I wanted to encourage you to continue uploading. I subscribed and liked your video to help push this video for the youtube's recommendation system.

naveendennis
Автор

very brief and to the point..thanks :)

avinashmangipudi
Автор

Hey Andrew, thanks for video, helped me setup gunicorn on my machine, and we are going to use it in prod soon, thanks

sekhar
Автор

Thanks for this straight forward tutorial on gunicorn...batman..

cheenamaejafar
Автор

Can I post to gunicorn like I did with flask? Apparently its not working for me.

rashidulislam
Автор

Annoying bug: gunicorn conflicts with the argparse module, creating `gunicorn: error: unrecognized arguments: ` error if not properly handled (for instance using if __name__ =="__main__": on the nested module)

optimistcarrot
Автор

How do I get this to work on windows 10?

ochbolton
Автор

Hey Andrew, I was wondering how do you go and tweak gunicorn settings later on

kianow
Автор

Does the number of means of workers means the app( with all its variables) are duplicated ?
If yes, if i am running a machine learning model and i want to store some data in memory to be accessible to every workers, is that possible with gunicorn ?

queezzy
Автор

By default my gunicorn taking the python version 3.8 but I want to use python 3.6
How can I change the python version for gunicorn

CodeTerra
Автор

How do you pass arg while running the app via gunicorn

sukirtiarya
Автор

You also need to set it as a service, because if for some reason crashes it will not start again

georgesmith
Автор

What terminal are you using with VSCode? I want that feature where it suggest the command as you type based on your command history. Thanks for the video!

cdgarzon
Автор

The requirements.txt file is not in the branch you shared.
I looked at your .gitignore, "*.txt" is listed, is this expected? Does not seem like its needed for this video.
Here is a list of everything at 0:56.
flask

gunicorn

Jinja2>=2.10.1

Werkzeug>=0.15

itsdangerous>=0.24

click>=5.1

setuptools>=3.0

MarkupSafe>=0.23

davehouser
Автор

Hello Sir i am using flask application and i want my server run on Gunicorn but when i doing all steps according to your video ..and run gunicorn it gives me error ModuleNotFoundError: No module named 'fcntl' and i am using window 10 os ..so i just wanted to know is gunicorn run on window os or not? second how i am run gunicorn in window os

ROHITKUMAR-wqdb
Автор

Hi Andrew. Nice video. Can you tell me that if I want to develop a app that can handle like 20k users, will it be possible using Flask?

capeandcode