docs: add localhost testing instructions to README
Co-authored-by: aider (openrouter/thinkingmachines/inkling-small:free) <aider@aider.chat>
This commit is contained in:
1 parent
e164b1958c
commit
d65f84c3e5
1 file changed
+13
-1
@@ -1,3 +1,15 @@
|
|||||||
# golf-score
|
# golf-score
|
||||||
|
|
||||||
Single page score card and stats app
|
Single page score card and stats app
|
||||||
|
|
||||||
|
## Testing on localhost
|
||||||
|
|
||||||
|
1. Install dependencies:
|
||||||
|
pip install fastapi uvicorn sqlalchemy pydantic
|
||||||
|
|
||||||
|
2. Start the backend:
|
||||||
|
uvicorn backend.app:app --reload
|
||||||
|
|
||||||
|
3. Open http://localhost:8000/ in your browser.
|
||||||
|
|
||||||
|
The SQLite database (backend/golf.db) is created automatically with a mock course.
|
||||||
Reference in new issue
Block a user