Fix package name in FastAPI README (#20371)

This commit is contained in:
DavidRV00 2024-12-26 08:27:06 -08:00 committed by GitHub
parent ff0fe26890
commit 357a708ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ To run the server, please execute the following from the root directory:
```bash
pip3 install -r requirements.txt
PYTHONPATH=src uvicorn openapi_server.main:app --host 0.0.0.0 --port {{serverPort}}
PYTHONPATH=src uvicorn {{packageName}}.main:app --host 0.0.0.0 --port {{serverPort}}
```
and open your browser at `http://localhost:{{serverPort}}/docs/` to see the docs.