Skip to content

Commit 5d3bb61

Browse files
authored
Using this with uv
1 parent 2417aff commit 5d3bb61

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ python -m asgi_proxy https://datasette.io
3838
```
3939
You may need to `pip install uvicorn` first for this to work.
4040

41+
Alternatively, use [uv](https://github.com/astral-sh/uv) like this:
42+
```bash
43+
uv run --with uvicorn --with asgi-proxy-lib python -m asgi_proxy https://datasette.io
44+
```
45+
4146
This will start a server on port 8000 that proxies to `https://datasette.io`.
4247

4348
Add `-p PORT` to specify a different port, `--timeout 3` to set a timeout, `--verbose` to see debug logging, and `--host 127.0.0.1` to listen on a different host (the default is `0.0.0.0`).

0 commit comments

Comments
 (0)