Skip to content

Latest commit

 

History

History
executable file
·
23 lines (15 loc) · 329 Bytes

File metadata and controls

executable file
·
23 lines (15 loc) · 329 Bytes

Fast API example for PKG Deploy

RPM builds with:

  • Python3
  • pipenv
  • FastAPI
  • uvicorn
  • gunicorn
  • nginx

Note: This is just an example. The settings, requirements, layout etc are not using best practices and are not production ready.

Local setup

pipenv install
pipenv shell

uvicorn main:app --reload