From d0f5f42cee088a07b0a0c8a99c9d1ea763308552 Mon Sep 17 00:00:00 2001 From: Omar Siam Date: Tue, 29 Oct 2024 13:52:42 +0100 Subject: [PATCH] Add instructions for running locally with poetry --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0d62a4b..33aeb14 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # releven-backend -run locally: +Build and run a container locally: ```bash -docker build -t releven . -docker run -p 8000:5000 releven +docker build -t releven-backend . +docker run -p 8000:5000 releven-backend +``` + +Run locally with poetry: +```bash +poetry install +poetry run fastapi dev releven.py --port 8000 ``` \ No newline at end of file