Skip to content

Commit 82a879c

Browse files
updated the setupEnv to fetch the latest code
1 parent 00cf047 commit 82a879c

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"name": "Multi Agent Custom Automation Engine Solution Accelerator",
33
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
44
"features": {
5-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {"version": "latest"},
66
"ghcr.io/azure/azure-dev/azd:latest": {},
77
"ghcr.io/devcontainers/features/node:1": {},
88
"ghcr.io/devcontainers/features/azure-cli:1": {},
9-
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {}
9+
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {"shellautocompletion": true,
10+
"version": "latest"}
1011
},
1112
"customizations": {
1213
"vscode": {

.devcontainer/setupEnv.sh

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
#!/bin/bash
2-
3-
cd ./src/backend
4-
uv add -r requirements.txt
5-
6-
cd ../frontend
7-
uv add -r requirements.txt
8-
9-
cd ..
10-
11-
1+
#!/bin/sh
122

3+
echo "Pull latest code for the current branch"
4+
git fetch
5+
git pull
136

7+
set -e
148

9+
echo "Setting up Backend..."
10+
cd ./src/backend
11+
uv sync --frozen
12+
cd ../../
1513

14+
echo "Setting up Frontend..."
15+
cd ./src/frontend
16+
npm install
17+
pip install -r requirements.txt
18+
cd ../../
1619

17-
# pip install --upgrade pip
18-
19-
20-
# (cd ./src/frontend; pip install -r requirements.txt)
21-
22-
23-
# (cd ./src/backend; pip install -r requirements.txt)
24-
20+
echo "Setting up MCP..."
21+
cd ./src/mcp_server
22+
uv sync --frozen
23+
cd ../../
2524

25+
echo "Setup complete! 🎉"

0 commit comments

Comments
 (0)