If you have a working Flask app that you can run on localhost on your computer, you can easily make it public by deploying it on PythonAnywhere.
It takes a couple of minutes to deploy. Here are the steps how to do it:
That’s it. You can visit your web app on https://yourusername.pythonanywhere.com. (change username with your actual PythonAnywhere username). That’s the URL of your app. You will see something like “Hello from Flask” there. If you want to upload your project, please follow the next steps:
Now, your Flask app should be app and running on https://yourusername.pythonanywhere.com. On the free plan you have 500 MB of disk space, so if your project gets bigger you may want to upgrade to one of the PythonAnywhere paid plans.
Next Lecture
Python Mega Course: Learn Python in 60 Days, Build 20 Apps
Learn Python on Udemy completely in 60 days or less by building 20 real-world applications from web development to data science.