Forums

should i use production server in my flask website

At first ,thanks for everyone who trying to help me I have a question, we all know that flask have a build-in server。When i click "run" button to start my flask website ,pythonanywhere give me a warning and it said " Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead.

So,What did this warning tell me. i am a university student and the flask website is my club's official website. And every month my website have 30000 clicks。 i should use a production server ?

finally,thanks pythonanywhere very much for giving me such a perfect host platform。

You cannot publish a flask application on PythonAnywhere using the run button in the editor. It will not be visible on the internet. Run your flask app as a web app. See http://help.pythonanywhere.com/pages/Flask/ for specifics about using Flask on PythonAnywhere.

in this article I explained how to do it: https://antonioblago.medium.com/flask-tutorial-how-to-deploy-and-publish-an-app-on-pythonanywhere-225314160914