Skip to content

Commit

Permalink
Add instructions for running locally with poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Oct 29, 2024
1 parent 73d6781 commit d0f5f42
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit d0f5f42

Please sign in to comment.