From 12cbae824a238559ed7041464d8264d530cdcd4d Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Sun, 5 Jan 2025 08:15:20 -0800 Subject: [PATCH] Add devcontainer file --- .devcontainer/devcontainer.json | 6 ++++++ setup.sh | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 setup.sh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..53b5c62 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,6 @@ +{ + "forwardPorts": [ + 8001 + ], + "postStartCommand": "bash setup.sh" +} \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..da62d10 --- /dev/null +++ b/setup.sh @@ -0,0 +1,3 @@ +pip install -e ".[dev,doc]" + +pre-commit install