Flask + Granian application for the Fly.io cloud deployment
- Flask: The Python micro framework for building web applications.
- Granian: A Rust HTTP server for Python applications.
- Fly.io: Fly is a platform for running full stack apps and databases.
- Fly.io - create account
- mkdir ibx-flask-granian-app
- cd ibx-flask-granian-app
- python -m venv venv
- .\venv\scripts\activate
- pip install flask, granian
- pip freeze > requirements.txt
- create app.py and templates
- some code
- configure Procfile
- flyctl auth login
- flyctl launch
- flyctl deploy
- browse https://ibx-flask-granian-app.fly.dev/