Compile FastAPI Project in reload mode #8092
-
I have created a simple FastAPI Project.
After that I am compile it using PyInstaller inside binary folder called app.
How can I run this binary using uvicorn ASGI server ? Previously i was using uvicorn to run server inside binary file. main.py
run.py
it runs fine when I set reload=False. Anyway I just want to create a FastAPI binary that can be run with reload=True. |
Beta Was this translation helpful? Give feedback.
Answered by
rokm
Nov 11, 2023
Replies: 1 comment 6 replies
-
Why do you need |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your example works for me: