diff --git a/README.md b/README.md index f354eb1..33106d9 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Returns a single random word from the database. ``` 2. **Install dependencies:** + If you use `uv` you can scip this step. This project uses `uv` for package management, but standard `pip` works too. ```bash pip install -r pyproject.toml @@ -63,13 +64,13 @@ Returns a single random word from the database. Run the initialization script to create `hangman.db` and populate it with the default word list. ```bash python init.py + # OR + uv run init.py ``` 4. **Start the server:** ```bash - fastapi dev main.py - # OR using uvicorn directly: - uvicorn main:app --reload + uv run uvicorn main:app --reload ``` The API will be available at `http://localhost:8000/random_word`.