Spaces:
Sleeping
Sleeping
Download .devcontainer/devcontainer.json from ccjulia/zero_friction: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/ccjulia/zero_friction/resolve/main/.devcontainer/devcontainer.json
- Command line
-
hf download hf://spaces/ccjulia/zero_friction/.devcontainer/devcontainer.json
-
curl -L -o devcontainer.json https://huggingface.co/spaces/ccjulia/zero_friction/resolve/main/.devcontainer/devcontainer.json
1.22 kB
| { | |
| "name": "PulseFabric Monitor", | |
| "image": "mcr.microsoft.com/devcontainers/javascript-node:20", | |
| "forwardPorts": [4200, 3000], | |
| "portsAttributes": { | |
| "4200": { "label": "Angular Frontend", "onAutoForward": "notify" }, | |
| "3000": { "label": "JSON Server API", "onAutoForward": "notify" } | |
| }, | |
| "hostRequirements": { | |
| "cpus": 8, | |
| "memory": "16gb" | |
| }, | |
| "updateContentCommand": "npm install -g @angular/cli && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true", | |
| "postCreateCommand": "git checkout -b feat/$(echo $GITHUB_USER)-$(date +%Y%m%d-%H%M%S)", | |
| "postStartCommand": "cd /workspaces/Zero-friction && git pull origin main && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true", | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "Angular.ng-template", | |
| "GitHub.copilot", | |
| "GitHub.copilot-chat", | |
| "dbaeumer.vscode-eslint" | |
| ], | |
| "settings": { | |
| "terminal.integrated.defaultProfile.linux": "zsh", | |
| "git.branchProtection": ["main"], | |
| "git.branchProtectionPrompt": "alwaysCommitToNewBranch" | |
| } | |
| } | |
| } | |
| } | |