mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
[dev/tooling]: add basic devcontainer setup w/ node, pnpm, go, nix & recommended tools
Add a development container for contributors and document how to use it. - Add .devcontainer/devcontainer.json - Add .devcontainer/Dockerfile - Update docs/CONTRIBUTING.md with Dev Container section - devcontainer.json parses successfully and opens in vscode without issues - all build.sh variants, recommended tools & lint/typecheck run without issues Closes #499
This commit is contained in:
@@ -55,3 +55,20 @@ If you plan to work with the WASM SSH agent, you will need to install
|
||||
`mkcert` or an equivalent to create certificates in `./test/caddy/certs`.
|
||||
It expects a `localhost.pem` and `localhost-key.pem` file to be present in that
|
||||
directory. PNPM has a script to do it with `pnpm mkcert` already already.
|
||||
|
||||
### Development Container
|
||||
|
||||
This repository includes a Dev Container setup in `./.devcontainer` with:
|
||||
|
||||
- Node.js
|
||||
- PNPM
|
||||
- Go
|
||||
- Nix
|
||||
- `mkcert` and related local certificate tooling
|
||||
|
||||
Open the repository in VS Code (or any Dev Container compatible editor) and
|
||||
start the container. On first creation, dependencies are installed automatically
|
||||
with `pnpm install`.
|
||||
|
||||
The base image is Debian (instead of Alpine) to keep compatibility with common
|
||||
official Dev Container features used by this project (Node, Go, and Docker).
|
||||
|
||||
Reference in New Issue
Block a user