File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Export VENV_DIR environment variable for virtual environment path
2
+ export VENV_DIR=" $HOME /.venv/mcpgateway"
Original file line number Diff line number Diff line change 11
11
"extensions" : [
12
12
" ms-python.python" ,
13
13
" ms-azuretools.vscode-docker"
14
- ]
14
+ ],
15
+ "settings" : {
16
+ "terminal.integrated.profiles.linux" : {
17
+ "bash-venv" : {
18
+ "path" : " /bin/bash" ,
19
+ "args" : [" -c" , " source ~/.venv/mcpgateway/bin/activate && exec bash" ]
20
+ }
21
+ },
22
+ "terminal.integrated.defaultProfile.linux" : " bash-venv"
23
+ }
15
24
}
16
25
},
17
26
"remoteEnv" : {
18
- "MCPGATEWAY_DEV_MODE" : " true"
27
+ "MCPGATEWAY_DEV_MODE" : " true" ,
28
+ "VENV_DIR" : " /Users/mg/.venv/mcpgateway"
19
29
}
20
30
}
Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ make install-dev
14
14
make test
15
15
16
16
echo " Devcontainer setup complete."
17
+
18
+ # Activate the virtual environment for the current session
19
+ source ~ /.venv/mcpgateway/bin/activate
You can’t perform that action at this time.
0 commit comments