diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..dae80a8 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,16 @@ +{ + "postCreateCommand": "sh setup.sh", + "remoteEnv": { + "PATH": "${containerEnv:PATH}:/home/codespace/.cargo/bin" + }, + "customizations": { + "vscode": { + "extensions": [ + "bungcip.better-toml", + "ms-python.python", + "eamodio.gitlens", + "EditorConfig.EditorConfig" + ] + } + } +} diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..fa08b8a --- /dev/null +++ b/setup.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e + +pip install poetry --user && poetry update + +sudo apt update +sudo apt install -y cargo +cargo install st-cli