[QUESTION]How to specify application path when running uvicorn outside of the application directory.
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Deployment - Uvicorn
The ASGI application should be specified in the form path.to.module:instance.path . When running locally, use --reload to turn on auto-reloading. The --reload ...
Read more >What is the best way to stop Uvicorn server programmatically?
Raising an exception (or re-raising f_error) inside your except clause would terminate the current application unless there's another level ...
Read more >The Ultimate FastAPI Tutorial Part 13 - Using Docker to ...
Part 13: Using Docker, Uvicorn and Gunicorn to Deploy Our App to Heroku ... script in the /app directory or other path specified,...
Read more >fastapi unprocessable entity debug - Tripnologies
Select "Python" Run the debugger with the option "Python: Current File ... Вперед Debuggingimport uvicorn from fastapi import FastAPI app ...
Read more >Create Blank Asgi Request | Psychiatrie Rivierenland
examples like heroku run asgi instantly right from your google search results. Spring application that uses Spring Data Redis.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we could probably accept a pull request adding that, yup.
Would also like to know if this is a thing. This would make deployments much easier.