Skip to content

Commit

Permalink
feat: Launch the monorepo in a codespace. (AztecProtocol#3829)
Browse files Browse the repository at this point in the history
This adds a `.devcontainer/devcontainer.json` file to the monorepo.
This allows one to launch a codespace terminal from github in browser.

The *expected* outcome of this would a codespace ready to go, for
actually developing our monorepo. A little bit like what our mainframe
offers. And I think it could well be worth configuring an image with all
the right tools to support this. But that wasn't really the goal of this
PR.

This actually just installs the latest master containers into a minimal
codespace, that allows a developer to unbox a project and run it against
a sandbox etc. It just makes it a bit easier to test this flow directly
in the monorepo.

Hey. I ❤️  monorepo.
  • Loading branch information
charlielye authored Jan 8, 2024
1 parent 009f66d commit f5a4a78
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"image": "node:lts-bookworm-slim",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postCreateCommand": "curl -s install.aztec.network | VERSION=master NON_INTERACTIVE=1 BIN_PATH=/usr/local/bin bash -s",
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"noir-lang.vscode-noir"
]
}
},
"workspaceMount": "source=${localWorkspaceFolder},target=/root/workspace,type=bind",
"workspaceFolder": "/root/workspace"
}

0 comments on commit f5a4a78

Please sign in to comment.