-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding devcontainer with create aztec app (#5960)
Let me just post a random Mr. Meeseks: ![image](https://github.com/AztecProtocol/aztec-packages/assets/20129824/a19a22dc-17d1-4b44-b7cf-9313abcc0a2c) Cool, so this PR: - Adds some badges Julian kindly made for us, to the main README so people can click and get a codespace with a sandbox in less than 2mins - Fixes a bug where the `onCreateCommand` was hardcoded to be a react app - Adds a `sandbox` subcommand to the `npx script` so it's easy to manage the sandbox from there and see logs, this makes the codespace free up the terminal also
- Loading branch information
1 parent
5b133f2
commit ae5cb21
Showing
21 changed files
with
1,959 additions
and
2,628 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,18 @@ | ||
{ | ||
"name": "Vanilla Typescript App", | ||
"image": "node:lts-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"onCreateCommand": ".devcontainer/scripts/onCreateCommand.sh app vanilla", | ||
"postAttachCommand": ".devcontainer/scripts/postAttachCommand.sh app vanilla", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/vanilla,target=/root/workspace,type=bind", | ||
"workspaceFolder": "/root/workspace", | ||
"hostRequirements": { | ||
"cpus": 8, | ||
"memory": "8gb", | ||
"storage": "32gb" | ||
}, | ||
"mounts": [ | ||
{ | ||
"source": "${localWorkspaceFolder}/.devcontainer/scripts", | ||
"target": "/root/workspace/.devcontainer/scripts", | ||
"type": "bind" | ||
} | ||
], | ||
"forwardPorts": [8080] | ||
"name": "Vanilla Typescript App", | ||
"image": "node:lts-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"onCreateCommand": "cp -R /root/workspace /root/scripts && rm -rf /root/workspace/* && sh /root/scripts/onCreateCommand.sh app vanilla", | ||
"postAttachCommand": "sh /root/scripts/postAttachCommand.sh app vanilla", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": ["noir-lang.vscode-noir"] | ||
} | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/scripts,target=/root/workspace,type=bind", | ||
"workspaceFolder": "/root/workspace", | ||
"forwardPorts": [8080] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.