Skip to content

Commit

Permalink
docs: update examples README
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-pl committed Feb 6, 2025
1 parent 880dbfe commit 686864e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@

## Running examples

First, install the examples dependency group:
To run examples, execute `uv run`:

```shell
poetry install --with examples
```

Then, run `fastapi` on an example file

```shell
poetry run fastapi dev <example.py>
uv run fastapi dev examples/<path-to-examples>
```

This will run the FastAPI application on `http://127.0.0.1:8000`.

0 comments on commit 686864e

Please sign in to comment.