update python fastapi readme

This commit is contained in:
William Cheng 2024-02-13 16:54:27 +08:00
parent 024c245ba7
commit 3f344ac6b4

View File

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