Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 799 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 799 Bytes

ibx-flask-granian-app

Flask + Granian application for the Fly.io cloud deployment

Components

  • 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.

Deployment

  1. Fly.io - create account
  2. mkdir ibx-flask-granian-app
  3. cd ibx-flask-granian-app
  4. python -m venv venv
  5. .\venv\scripts\activate
  6. pip install flask, granian
  7. pip freeze > requirements.txt
  8. create app.py and templates
  9. some code
  10. configure Procfile
  11. flyctl auth login
  12. flyctl launch
  13. flyctl deploy
  14. browse https://ibx-flask-granian-app.fly.dev/