improve operational ergonomics
This commit is contained in:
parent
a2367f303e
commit
fd4bbde0c6
2 changed files with 11 additions and 5 deletions
11
README.md
11
README.md
|
@ -1,7 +1,10 @@
|
|||
# llm-ui
|
||||
# llm-py-web
|
||||
|
||||
starlette + aftercare ui for llm by simonw.
|
||||
requires uv, deno.
|
||||
|
||||
```shell
|
||||
$ uv venv
|
||||
$ uv pip install -r requirements.txt
|
||||
$ uv run uvicorn server:app
|
||||
$ deno task setup
|
||||
$ # any llm plugins: `uv pip install ...`
|
||||
$ deno task run
|
||||
```
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
"lock": false,
|
||||
"tasks": {
|
||||
"client:build": "deno run -A ./_build_client.ts",
|
||||
"server:run": "uv run uvicorn server:app"
|
||||
"server:setup": "uv venv && uv pip install -r requirements.txt",
|
||||
"server:run": "uv run uvicorn server:app",
|
||||
"setup": "deno task server:setup & deno task client:build",
|
||||
"run": "deno task client:build --watch & deno task server:run"
|
||||
},
|
||||
"imports": {
|
||||
"@char/aftercare": "jsr:@char/aftercare@^0.2.0"
|
||||
|
|
Loading…
Reference in a new issue