Context
The README.md instructs users to run the server with uvicorn app.main:app --reload, but uvicorn is not listed in requirements.txt. After a fresh install, running the server fails with ModuleNotFoundError.
Steps to reproduce
- Clone the repo and create a fresh venv:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Try to start the server:
uvicorn app.main:app --reload
- Error:
ModuleNotFoundError: No module named 'uvicorn'
Expected behavior
Running pip install -r requirements.txt should install all dependencies needed to both test and run the application, including uvicorn.
Actual behavior
uvicorn is not in requirements.txt. Users must discover and install it manually.
Files
Acceptance criteria
Suggested approach
- Open
requirements.txt.
- Add
uvicorn>=0.29.0 (or similar recent version).
- Test by installing in a fresh venv and running the server.
Context
The
README.mdinstructs users to run the server withuvicorn app.main:app --reload, butuvicornis not listed inrequirements.txt. After a fresh install, running the server fails withModuleNotFoundError.Steps to reproduce
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtModuleNotFoundError: No module named 'uvicorn'Expected behavior
Running
pip install -r requirements.txtshould install all dependencies needed to both test and run the application, includinguvicorn.Actual behavior
uvicornis not inrequirements.txt. Users must discover and install it manually.Files
requirements.txtAcceptance criteria
uvicornis listed inrequirements.txtpip install -r requirements.txt, runninguvicorn app.main:appworksuvicorn>=0.29.0)Suggested approach
requirements.txt.uvicorn>=0.29.0(or similar recent version).