Skip to content

docs: Rewrite setup as devcontainer steps per platform - #8062

Open
Rathoz wants to merge 5 commits into
mainfrom
docs/setup-devcontainer-only
Open

docs: Rewrite setup as devcontainer steps per platform#8062
Rathoz wants to merge 5 commits into
mainfrom
docs/setup-devcontainer-only

Conversation

@Rathoz

@Rathoz Rathoz commented Sep 7, 2026

Copy link
Copy Markdown
Member

What

Setup had three parallel routes — devcontainer, native Unix, native Mac — plus per-editor LSP config. The Mac route told people to edit a Homebrew formula to install a disabled lua@5.1. Now all merged, the devcontainer is the one path, so this replaces the lot with numbered steps: install Docker, install VS Code, clone, open in container, verify.

Platform differences appear only where they actually differ:

  • Linux — Docker Engine, not Docker Desktop, plus the docker group step
  • macOS — Docker Desktop, with Colima as the alternative
  • Windows — WSL 2, and clone inside WSL rather than on the Windows drive

Remove a bunch of stuff that was either incorrect or confusing.

Setup was three parallel routes, one of which told mac users to edit a
homebrew formula to get around a disabled lua@5.1. Replaces all of it
with numbered steps for docker, vs code, clone, open, verify, with the
platform differences stated only where they differ: docker engine rather
than docker desktop on linux, wsl 2 on windows, and cloning inside wsl
rather than on the windows drive.

Drops the native toolchain instructions and the per editor lsp setup,
since the container supplies both and the extensions install themselves.

Two things elsewhere were wrong and would bite the same reader:
`npm run test` and `npm run fix` do not exist, and the deploy section
still asked for a pip install and an .env copy that the container does
on first start.
Copilot AI lite review requested due to automatic review settings September 7, 2026 12:13
@Rathoz
Rathoz requested review from a team as code owners September 7, 2026 12:13
@ElectricalBoy ElectricalBoy added the documentation Improvements or additions to documentation label Sep 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Linux Docker install command in the README pipes the installer to sh without elevated privileges, which is likely to fail for most readers unless corrected (e.g., sudo sh).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR rewrites the contributor setup documentation to make the devcontainer the primary/only supported onboarding path, consolidating platform-specific notes into a single numbered flow and removing the prior native setup + per-editor LSP instructions.

Changes:

  • Replaced the previous “Devcontainer + native Linux/macOS/Windows” setup sections with a single devcontainer-first, step-by-step workflow (Docker → VS Code → clone → reopen in container → verify).
  • Updated commands/docs to match current tooling (e.g., npm run test:js and npm run lint rather than non-existent npm run test / npm run fix).
  • Updated “From your machine” deploy setup notes to reflect devcontainer post-create behavior (Python deps installed and .env created with DRY_RUN=1).
File summaries
File Description
README.md Reworks setup and local-dev docs around the devcontainer workflow; updates test/lint script names and deploy prerequisites to match current repo behavior.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Outdated
Comment thread README.md Outdated
Install steps for other people's tools go stale here and are documented
better at the source. Keeps only what is our decision: docker engine
rather than desktop on linux, and the WSL 2 backend on windows.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

@ElectricalBoy ElectricalBoy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer not removing the old instructions entirely - I don't see a problem with making devcontainer the suggested setup but I think it is better to keep instructions for native setup for people who prefer not installing docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants