fix(web): stabilize local sign-in and page lifecycle handling
This commit is contained in:
parent
3a290cc8a7
commit
0874e44c12
7 changed files with 79 additions and 17 deletions
|
|
@ -32,6 +32,8 @@ bun run --cwd apps/stock/orchestrator dev
|
|||
|
||||
Run these in separate terminals from the repository root. The frontend alone does not run backtests; the API and orchestrator handle admission and execution. Ingestion and pipeline are additional entrypoints when you need to collect source data or synchronize the catalog.
|
||||
|
||||
Open `http://localhost:5173` and sign in with `STOCK_BOT_ADMIN_TOKEN` from the root `.env`. Both `STOCK_BOT_ADMIN_TOKEN` and `STOCK_BOT_SERVICE_TOKEN` must be configured as distinct values of at least 32 characters before starting HTTP services. The API uses port `2003`; the orchestrator uses `2004`. The frontend has a fixed port to avoid colliding with Docker's Grafana (`3000`) and Bull Board (`3001`) or silently moving to an unapproved browser origin.
|
||||
|
||||
Stock configuration is loaded by [config-instance.ts](config/src/config-instance.ts), with stock-specific validation in [stock-app.schema.ts](config/src/schemas/stock-app.schema.ts). HTTP authentication/session behavior is in the shared [security module](../../libs/core/di/src/http/security.ts). Keep backend credentials out of frontend build variables.
|
||||
|
||||
## Supported execution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue