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
|
```shell
|
||||||
$ uv venv
|
$ deno task setup
|
||||||
$ uv pip install -r requirements.txt
|
$ # any llm plugins: `uv pip install ...`
|
||||||
$ uv run uvicorn server:app
|
$ deno task run
|
||||||
```
|
```
|
||||||
|
|
|
@ -2,7 +2,10 @@
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"client:build": "deno run -A ./_build_client.ts",
|
"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": {
|
"imports": {
|
||||||
"@char/aftercare": "jsr:@char/aftercare@^0.2.0"
|
"@char/aftercare": "jsr:@char/aftercare@^0.2.0"
|
||||||
|
|
Loading…
Reference in a new issue