Skip to content

Commit 2243cc5

Browse files
improvement(setup): default to Docker Compose and sharpen the run-mode copy
Compose was listed first but only preselected when Docker happened to be running — with Docker stopped the cursor sat on 'Local dev', steering people toward a source checkout when they wanted to run Sim. Compose mode calls ensureDocker(true), which offers to start Docker Desktop, so a stopped daemon is no reason to change the default. Also tightens the hints to say what each mode is for: run bundled Sim (fastest way to start), work on Sim itself, test a production-style k8s deploy.
1 parent 47fcf93 commit 2243cc5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

scripts/setup/wizard.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ async function selectMode(detection: Detection, flags: WizardFlags): Promise<Wiz
6666
{
6767
value: 'compose',
6868
label: 'Docker Compose',
69-
// Self-host or just try Sim without touching the code.
70-
hint: `Run a bundled Sim — self-hosting or evaluating · ${composeState}`,
69+
hint: `Run bundled Sim, fastest way to start · ${composeState}`,
7170
},
7271
{
7372
value: 'dev',
7473
label: 'Local dev (bun run dev:full)',
75-
// Iterate on the source with hot reload.
76-
hint: 'Work on Sim itself — contributing · app :3000 + realtime :3002',
74+
hint: 'Work on Sim itself · app :3000 + realtime :3002',
7775
},
7876
{
7977
value: 'k8s',
8078
label: 'Kubernetes (helm)',
81-
// Rehearse a real cluster deploy on kind / Docker Desktop.
82-
hint: `Test a production-style deploy — self-hosting on k8s · ${k8sState}`,
79+
hint: `Test a production-style k8s deploy · ${k8sState}`,
8380
},
8481
],
85-
initialValue: detection.dockerRunning ? 'compose' : 'dev',
82+
// Always Compose: it is the fastest path and the one most people want. A
83+
// stopped Docker is not a reason to steer them to a source checkout — the
84+
// compose path offers to start Docker Desktop itself.
85+
initialValue: 'compose',
8686
})
8787
}
8888

0 commit comments

Comments
 (0)