Skip to content

Flask + Gunicorn application on Fly.io cloud

License

Notifications You must be signed in to change notification settings

IBX-EDU/ibx-flask-gunicorn-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ibx-flask-gunicorn-app

Flask + Gunicorn Application for the Fly.io cloud deployment

Components:

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

Deployment:

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

Releases

No releases published

Packages

No packages published