docs(agents): document web/ Next.js project and cm-web-next dev URL
This commit is contained in:
parent
203ab5daef
commit
a04d7ecc50
@ -7,7 +7,8 @@
|
|||||||
- `cm_telegram.py` (Telegram bot + account monitor thread)
|
- `cm_telegram.py` (Telegram bot + account monitor thread)
|
||||||
- `cm_transfer_credit.py` (scheduled transfer worker)
|
- `cm_transfer_credit.py` (scheduled transfer worker)
|
||||||
- `db.py` (MySQL connection/retry logic)
|
- `db.py` (MySQL connection/retry logic)
|
||||||
- `docker/<service>/Dockerfile` builds one image per service (`cm-api`, `cm-web`, `cm-telegram`, `cm-transfer`).
|
- `web/` is the Next.js 15 app for the new web view (`cm-web-next` service). Tailwind v4, App Router, TypeScript. Side-by-side with the legacy Flask `cm_web_view.py` until B4 cuts over.
|
||||||
|
- `docker/<service>/Dockerfile` builds one image per service (`cm-api`, `cm-web`, `cm-web-next`, `cm-telegram`, `cm-transfer`).
|
||||||
- `docker-compose.yml` uses registry images; `docker-compose.override.yml` swaps to local builds.
|
- `docker-compose.yml` uses registry images; `docker-compose.override.yml` swaps to local builds.
|
||||||
- `scripts/local_build.sh` starts local compose; `scripts/publish.sh` builds and pushes all images via buildx.
|
- `scripts/local_build.sh` starts local compose; `scripts/publish.sh` builds and pushes all images via buildx.
|
||||||
|
|
||||||
@ -44,6 +45,7 @@
|
|||||||
|
|
||||||
## Dev Tier (Local Development)
|
## Dev Tier (Local Development)
|
||||||
- Lifecycle: `bash scripts/dev.sh {up,down,reset-db,logs,status}`.
|
- Lifecycle: `bash scripts/dev.sh {up,down,reset-db,logs,status}`.
|
||||||
|
- URLs: `http://localhost:8000/` (legacy Flask UI), `http://localhost:8010/` (new Next.js scaffold). Both run side-by-side until the B4 cutover retires the Flask version.
|
||||||
- Bot CLI: `bash scripts/bot_cli.sh` (drops into the TUI menu) or
|
- Bot CLI: `bash scripts/bot_cli.sh` (drops into the TUI menu) or
|
||||||
`bash scripts/bot_cli.sh <subcommand>` (e.g., `register`, `set-pin <link>`,
|
`bash scripts/bot_cli.sh <subcommand>` (e.g., `register`, `set-pin <link>`,
|
||||||
`monitor-once --target 5`). The CLI runs in your local `.venv` and
|
`monitor-once --target 5`). The CLI runs in your local `.venv` and
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user