Deploy this Python Flask server easily with Northflank:
- Clone this repository
- Select the repository in Northflank when creating a new service
- Expose port 80
- Wait for the app to build and visit the newly assigned URL. That's it!
https://example--python-flask--examples--nort-kcwl.code.run
Flask is a lightweight WSGI Python web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications.
-
Install packages.
pip install -r requirements.txt
Make sure you are using Python 3.4 or above.
-
Start developing.
Navigate into your new site’s directory and start it up.
python main.py
-
Visit your site.
Navigate to http://localhost and view your site while developing.