Run it locally
Start the demo stack and the web apps, including these docs.
The docs only
pnpm install
pnpm --filter @dara/docs devOpen http://localhost:3004. The reference pages are copied from docs/ when the app starts, so restart it to pick up edits there.
The full demo
| Command | What it does |
|---|---|
make demo | Fresh local network and database, a scripted lifecycle, and a PASS or FAIL per invariant. Leaves the stack running |
make demo-seed | Fresh stack with demo data to explore, instead of make demo |
make demo-ui | Builds and starts the web apps on the running stack |
make demo-totp | Prints the current two-factor code for demo staff |
make demo-logs | Follows the logs |
make demo-down | Stops the stack and keeps its data |
make demo-reset | Stops the stack and deletes its network, manifest and database |
make observability-up | Adds monitoring: Grafana on 3300, Prometheus on 9090, Alertmanager on 9093 |
Web apps
| App | URL |
|---|---|
| Landing | localhost:3000 |
| Wallet | localhost:3001 |
| Admin console | localhost:3002 |
| Dara Scan | localhost:3003 |
| Docs | localhost:3004 |
Demo accounts
These exist after make demo-seed, with the public demo password demo-password-public. They're on a local network only, and the data isn't real.
| Account | Role |
|---|---|
alice@dara.local, bob@dara.local | Customers |
admin@dara.local, admin2@dara.local | Platform Admins |
reserve.manager@dara.local, reserve.approver@dara.local | Reserves |
treasury.a@dara.local, treasury.b@dara.local | Treasury |
compliance@dara.local, compliance2@dara.local | Compliance |
auditor@dara.local | Auditor |
Checks
| Command | What it runs |
|---|---|
make web-check | Typecheck, lint and unit tests for the web apps, forbidden dependencies and RTL |
make test-up, then make test | Every Go test, integration tests included |
make ci | Everything a merge must pass |
Going further: Testnet, UAT, Mainnet canary.