From 7b86090cb598c7c55228a242bc5d9394c4784815 Mon Sep 17 00:00:00 2001 From: Alexandre Teles Date: Wed, 28 Sep 2022 21:36:53 -0300 Subject: [PATCH] add rest client --- .devcontainer/devcontainer.json | 26 ++++++++++++++++++++++++-- .devcontainer/postCreateCommand.sh | 0 2 files changed, 24 insertions(+), 2 deletions(-) mode change 100644 => 100755 .devcontainer/postCreateCommand.sh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4f7b82c..c61d5f7 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -39,7 +39,27 @@ "extensions": [ "ms-python.python", "ms-python.vscode-pylance", - "eamodio.gitlens" + "eamodio.gitlens", + "nimda.deepdark-material", + "jeff-hykin.better-dockerfile-syntax", + "njpwerner.autodocstring", + "wwm.better-align", + "me-dutour-mathieu.vscode-github-actions", + "github.copilot-nightly", + "visualstudioexptteam.vsco", + "visualstudioexptteam.intellicode-api-usage-examples", + "zainchen.json", + "matangover.mypy", + "ionutvmi.path-autocomplete", + "christian-kohler.path-intellisense", + "donjayamanne.python-extension-pack", + "ms-python.vscode-pylance", + "redhat.vscode-yaml", + "kevinrose.vsc-python-indent", + "kevinrose.vsc-python-indent", + "bungcip.better-toml", + "rangav.vscode-thunder-client", + "rohinivsenthil.postcode" ] } }, @@ -48,7 +68,9 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest", + "postCreateCommand": "./.devcontainer/postCreateCommand.sh", + + "postStartCommand": "docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest", // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh old mode 100644 new mode 100755