Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ludeeus/aiogithubapi",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3-3.13",
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu",
"postCreateCommand": "scripts/setup",
"postStartCommand": "scripts/motd",
"features": {
Expand Down
9 changes: 9 additions & 0 deletions scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ set -e

cd "$(dirname "$0")/.."

echo "==> Checking for uv..."
if ! command -v uv >/dev/null 2>&1; then
echo "UV not found, re-build the devcontainer..."
exit 1
fi

echo "==> Installing Python with uv..."
uv python install

scripts/bootstrap

echo "==> Project is now ready to go!"