Flask + Gunicorn Application for the Fly.io cloud deployment
- Flask: The Python micro framework for building web applications.
- Gunicorn: 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
- Fly.io: Fly is a platform for running full stack apps and databases.
- Fly.io - create account
- mkdir ibx-flask-gunicorn-app
- cd ibx-flask-gunicorn-app
- python -m venv venv
- .\venv\scripts\activate
- pip install flask, gunicorn
- create app.py, template and wsgi.py
- some code
- pip freeze > requirements.tx
- flyctl auth login
- flyctl launch
- configure Procfile
- flyctl deploy
- browse https://ibx-flask-gunicorn-app.fly.dev/