diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5c2eec0..8b16e4c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,7 +8,9 @@ "containerEnv": { "WORKSHOP_ROLE": "attendee" }, - "forwardPorts": [3000], + "forwardPorts": [ + 3000 + ], "portsAttributes": { "3000": { "label": "Workshop planner (development environment in Codespaces)", @@ -18,5 +20,12 @@ }, "onCreateCommand": "npm ci --ignore-scripts --no-audit --no-fund", "postCreateCommand": "npm run setup", - "postStartCommand": "npm run workspace:start" + "postStartCommand": "npm run workspace:start", + "customizations": { + "vscode": { + "extensions": [ + "ms-azuretools.vscode-documentdb" + ] + } + } } diff --git a/.devcontainer/organizer/devcontainer.json b/.devcontainer/organizer/devcontainer.json index 1a52f22..46bba90 100644 --- a/.devcontainer/organizer/devcontainer.json +++ b/.devcontainer/organizer/devcontainer.json @@ -12,7 +12,9 @@ "containerEnv": { "WORKSHOP_ROLE": "organizer" }, - "forwardPorts": [3000], + "forwardPorts": [ + 3000 + ], "portsAttributes": { "3000": { "label": "Organizer development planner", @@ -22,5 +24,12 @@ }, "onCreateCommand": "npm ci --ignore-scripts --no-audit --no-fund", "postCreateCommand": "npm run setup && npm run organizer:check", - "postStartCommand": "npm run workspace:start" + "postStartCommand": "npm run workspace:start", + "customizations": { + "vscode": { + "extensions": [ + "ms-azuretools.vscode-documentdb" + ] + } + } } diff --git a/README.md b/README.md index 84c48af..4b2904b 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,11 @@ cross-listings, unresolved disagreements, and the excluded invalid break time. **Ctrl/Cmd+P**, then type `exercises/starter/repository.js`. A GitHub file link is a read-only source view, not the editable file in your running Codespace. +Both Codespaces profiles include the official +[DocumentDB for VS Code extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-documentdb) +(`ms-azuretools.vscode-documentdb`). It does not connect to or provision a database +automatically; the workshop's Compose setup still owns Site A and Site B. + Every workshop terminal command runs **inside Codespaces**, unless explicitly following the optional [laptop-local appendix](docs/local.md). diff --git a/src/public/index.html b/src/public/index.html index 89dd5b3..71b6ea6 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -168,7 +168,6 @@