From 97740261a28516962019f19c820518a475e79d36 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 12:37:43 +0000 Subject: [PATCH 1/2] Add .devcontainer/devcontainer.json for Codespaces / Dev Containers Agent-Logs-Url: https://github.com/Ctrl-Alt-GG/care/sessions/458310ff-ce84-4971-aa4a-9dc153fc4eb6 Co-authored-by: tormachris <1529569+tormachris@users.noreply.github.com> --- .devcontainer/devcontainer.json | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..ddf7481 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,38 @@ +{ + "name": "Ctrl-Alt-GG Care (Hugo + Tailwind)", + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-bookworm", + "features": { + "ghcr.io/devcontainers/features/node:1": { + "version": "lts" + }, + "ghcr.io/devcontainers/features/hugo:1": { + "extended": true, + "version": "latest" + }, + "ghcr.io/devcontainers/features/git:1": {} + }, + "postCreateCommand": "npm ci", + "forwardPorts": [1313], + "portsAttributes": { + "1313": { + "label": "Hugo dev server", + "onAutoForward": "notify" + } + }, + "customizations": { + "vscode": { + "extensions": [ + "budparr.language-hugo-vscode", + "bradlc.vscode-tailwindcss", + "tamasfe.even-better-toml", + "esbenp.prettier-vscode", + "editorconfig.editorconfig" + ], + "settings": { + "files.eol": "\n", + "terminal.integrated.defaultProfile.linux": "bash" + } + } + }, + "remoteUser": "node" +} From 481c5d69db8acbb9f6a751e3c3d16c579037ea3b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 12:44:18 +0000 Subject: [PATCH 2/2] Bind hugo dev server to 0.0.0.0 for devcontainer port forwarding Agent-Logs-Url: https://github.com/Ctrl-Alt-GG/care/sessions/39afd7c7-ed1d-43b0-aadf-87d22126265b Co-authored-by: tormachris <1529569+tormachris@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8157ca9..05c64f1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "scripts": { "dev:css": "tailwindcss -i ./assets/css/main.css -o ./assets/css/compiled/main.css --watch", - "dev:hugo": "hugo server", + "dev:hugo": "hugo server --bind 0.0.0.0", "dev": "npm run build:css && (npm run dev:css & npm run dev:hugo)", "build:css": "tailwindcss -i ./assets/css/main.css -o ./assets/css/compiled/main.css", "build:hugo": "hugo",