Skip to content

Flask + Hypercorn application on Fly.io cloud

License

Notifications You must be signed in to change notification settings

IBX-EDU/ibx-flask-hypercorn-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ibx-flask-hypercorn-app

Flask + Hypercorn application for the Fly.io cloud deployment

Components:

  • Flask: The Python micro framework for building web applications.
  • Hypercorn: Hypercorn is an ASGI and WSGI Server.
  • Fly.io: Fly is a platform for running full stack apps and databases.

Deployment:

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

About

Flask + Hypercorn application on Fly.io cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published