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