feat(gateway): optional .env loading for local dev (app + seed); document in e2e guide
This commit is contained in:
@@ -20,6 +20,8 @@ Session script for validating the gateway against a real KepServer + cluster (wi
|
||||
|
||||
## 1. Seed test data
|
||||
|
||||
Copy `.env.example` to `.env` (gitignored) and fill in the values from the session (OPC endpoint, Mongo/Redis/Postgres/MinIO accesses) — both the app and the seed script read it automatically (add `OPC_SERVER_URL=opc.tcp://HOST:49320`; it is seed-only, so it isn't in the example file). Then:
|
||||
|
||||
```bash
|
||||
python scripts/seed_e2e.py --print-only # inspect first
|
||||
python scripts/seed_e2e.py # seed Mongo + Redis slot v1 + Postgres table
|
||||
|
||||
Reference in New Issue
Block a user