-
-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION]How to specify application path when running uvicorn outside of the application directory. #549
Comments
Would also like to know if this is a thing. This would make deployments much easier. |
Using PYTHONPATH maybe, if I understood correctly what you want? |
No, something more like |
I am also looking for something like this. Could you help ? |
I think we could probably accept a pull request adding that, yup. |
…uvicorn from any location Closes encode#549
Following this question, is it possible to also have an app-dir kwarg for uvicorn.Config? |
I thought there would be an option like
--chdir
in Gunicorn but I didn't find one on the documentation, at first I thought that's what--root-path
option is used for, turns out I was wrong.The text was updated successfully, but these errors were encountered: