17 lines
639 B
Markdown
17 lines
639 B
Markdown
# TriggerShell web app
|
|||
|
|
|
||
|
|
This is the Next.js app that TriggerShell's Python CLI (`triggershell dev` / `triggershell start`)
|
||
|
|
launches — it's not meant to be run standalone with `next dev`/`next start` since it needs a
|
||
|
|
custom server (`server.ts`) for the WebSocket endpoint.
|
||
|
|
|
||
|
|
See the [repo root README](../README.md) for how to run TriggerShell end-to-end, and
|
||
|
|
[`../docs/ARCHITECTURE.md`](../docs/ARCHITECTURE.md) for how this app is put together.
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pnpm install
|
||
|
|
pnpm dev # tsx watch server.ts - reads TRIGGERSHELL_CONFIG_PATH from the environment
|
||
|
|
pnpm lint
|
||
|
|
pnpm typecheck
|
||
|
|
pnpm db:studio # browse the SQLite database
|
||
|
|
```
|