recommend watchexec for development instead of calling uvicorn
This lets us setup initialization logic much more uniformly (e.g. configuring loggers)
This commit is contained in:
parent
1f13e8aa5a
commit
d3814a359d
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ Most things should automatically be set up with the included [direnv script](./.
|
|||
1. Go to the api/ directory
|
||||
2. Run `uv venv` to create a python virtual environment
|
||||
3. Install all dependencies of the dooris project into that virtual environment with `uv sync`
|
||||
4. Run a development server `uv run uvicorn dooris_api:app --reload`
|
||||
4. Run a development server `watchexec -r -w src/ uv run dooris-api`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue