Skip to content

Flask + Granian application on Fly.io cloud

License

Notifications You must be signed in to change notification settings

IBX-EDU/ibx-flask-granian-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Flask + Granian application on Fly.io cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published