|
3 | 3 | - `bun run dev` — Starts contracts, server, and web in `turbo watch` mode. |
4 | 4 | - `bun run dev:server` — Starts just the WebSocket server (uses Bun TypeScript execution). |
5 | 5 | - `bun run dev:web` — Starts just the Vite dev server for the web app. |
6 | | -- Dev commands default `SYNARA_HOME` to `~/.synara`, which keeps dev state under `~/.synara/dev`. |
| 6 | +- Dev commands default `FORKARA_HOME` to `~/.forkara`, which keeps dev state under `~/.forkara/dev`. |
7 | 7 | - Override server CLI-equivalent flags from root dev commands with `--`, for example: |
8 | | - `bun run dev -- --home-dir ~/.synara-2` |
| 8 | + `bun run dev -- --home-dir ~/.forkara-2` |
9 | 9 | - `bun run start` — Runs the production server (serves built web app as static files). |
10 | 10 | - `bun run build` — Builds contracts, web app, and server through Turbo. |
11 | 11 | - `bun run typecheck` — Strict TypeScript checks for all packages. |
|
20 | 20 |
|
21 | 21 | - Default local builds are unsigned/not notarized unless `--signed` is supplied with the required platform credentials. |
22 | 22 | - Production icon sources are centralized in `scripts/lib/brand-assets.ts`. The current macOS source is `assets/prod/black-macos-1024.png` (with the legacy macOS variant alongside it); do not hard-code a separate packaging icon path in docs or scripts. |
23 | | -- Desktop production windows load the bundled UI from `synara://app/index.html` (not a `127.0.0.1` document URL). |
24 | | -- Desktop packaging includes `apps/server/dist` (the `synara` backend) and starts it on loopback with an auth token for WebSocket/API traffic. |
| 23 | +- Desktop production windows load the bundled UI from `forkara://app/index.html` (not a `127.0.0.1` document URL). |
| 24 | +- Desktop packaging includes `apps/server/dist` (the `forkara` backend) and starts it on loopback with an auth token for WebSocket/API traffic. |
25 | 25 | - Your tester can still open an unsigned local macOS build by right-clicking the app and choosing **Open** on first launch. |
26 | 26 | - To keep staging files for debugging package contents, run: `bun run dist:desktop:dmg -- --keep-stage`. |
27 | 27 | - To enable code-signing/notarization when the required credentials are configured, add `--signed`. |
|
35 | 35 |
|
36 | 36 | ## Running multiple dev instances |
37 | 37 |
|
38 | | -Set `SYNARA_DEV_INSTANCE` to any value to deterministically shift all dev ports together. |
| 38 | +Set `FORKARA_DEV_INSTANCE` to any value to deterministically shift all dev ports together. |
39 | 39 |
|
40 | 40 | - Default ports: server `3773`, web `5733` |
41 | | -- Shifted ports: `base + offset` (offset is hashed from `SYNARA_DEV_INSTANCE`) |
42 | | -- Example: `SYNARA_DEV_INSTANCE=branch-a bun run dev:desktop` |
| 41 | +- Shifted ports: `base + offset` (offset is hashed from `FORKARA_DEV_INSTANCE`) |
| 42 | +- Example: `FORKARA_DEV_INSTANCE=branch-a bun run dev:desktop` |
43 | 43 |
|
44 | | -If you want full control instead of hashing, set `SYNARA_PORT_OFFSET` to a numeric offset. |
| 44 | +If you want full control instead of hashing, set `FORKARA_PORT_OFFSET` to a numeric offset. |
0 commit comments