From b84906d7d403e12e94b0cf1f99893a16ea311008 Mon Sep 17 00:00:00 2001 From: Welding Torch <46340124+Welding-Torch@users.noreply.github.com> Date: Sat, 16 Sep 2023 19:26:57 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8feat:=20Add=20Development=20Contai?= =?UTF-8?q?ner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devcontainer/devcontainer.json | 18 ++++++++++++++++++ devcontainer/postCreateCommand.sh | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 devcontainer/devcontainer.json create mode 100644 devcontainer/postCreateCommand.sh diff --git a/devcontainer/devcontainer.json b/devcontainer/devcontainer.json new file mode 100644 index 00000000..16ddd37b --- /dev/null +++ b/devcontainer/devcontainer.json @@ -0,0 +1,18 @@ +{ + "image": "mcr.microsoft.com/devcontainers/ruby", + "features": { + "ghcr.io/devcontainers/features/node:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "asciidoctor.asciidoctor-vscode", + "mikestead.dotenv", + "redhat.vscode-yaml", + "streetsidesoftware.code-spell-checker" + ] + } + }, + "postCreateCommand": "sh postCreateCommand.sh", + "forwardPorts": [5000] +} \ No newline at end of file diff --git a/devcontainer/postCreateCommand.sh b/devcontainer/postCreateCommand.sh new file mode 100644 index 00000000..3db265f1 --- /dev/null +++ b/devcontainer/postCreateCommand.sh @@ -0,0 +1,4 @@ +gem install asciidoctor +cp sample.env .env +npm install +exit \ No newline at end of file From 659f11d555280d343fb1edba9712781081b20d7d Mon Sep 17 00:00:00 2001 From: Welding Torch <46340124+Welding-Torch@users.noreply.github.com> Date: Sat, 16 Sep 2023 19:32:09 +0000 Subject: [PATCH 2/2] fix: directory name --- {devcontainer => .devcontainer}/devcontainer.json | 0 {devcontainer => .devcontainer}/postCreateCommand.sh | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {devcontainer => .devcontainer}/devcontainer.json (100%) rename {devcontainer => .devcontainer}/postCreateCommand.sh (100%) diff --git a/devcontainer/devcontainer.json b/.devcontainer/devcontainer.json similarity index 100% rename from devcontainer/devcontainer.json rename to .devcontainer/devcontainer.json diff --git a/devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh similarity index 100% rename from devcontainer/postCreateCommand.sh rename to .devcontainer/postCreateCommand.sh