Skip to content

Commit f91ce66

Browse files
committed
feat: add comprehensive devcontainer setup and update README
1 parent 20f4960 commit f91ce66

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "OpenAgentFlow Starter Dev Container",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "22"
7+
},
8+
"ghcr.io/devcontainers/features/git:1": {}
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"settings": {
13+
"python.defaultInterpreterPath": "${workspaceFolder}/venv/bin/python",
14+
"python.terminal.activateEnvironment": true,
15+
"files.associations": {
16+
"*.oaf": "openagentflow"
17+
}
18+
},
19+
"extensions": [
20+
"openagentflow.openagentflow-support",
21+
"ms-python.python",
22+
"ms-python.vscode-pylance",
23+
"esbenp.prettier-vscode"
24+
]
25+
}
26+
},
27+
"postCreateCommand": "npm install && npm run setup",
28+
"remoteUser": "vscode"
29+
}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ Welcome! This template repository lets you instantly build, test, and compile mu
4040
# macOS/Linux: source venv/bin/activate
4141
python triage_app.py
4242
```
43+
44+
## 🐳 Dev Containers & GitHub Codespaces
45+
46+
This repository includes a preconfigured **Development Container** (`.devcontainer/devcontainer.json`).
47+
- **VS Code**: Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers), open the project, and select **Reopen in Container**.
48+
- **GitHub Codespaces**: Open this repo in Codespaces for an instant, zero-setup browser environment with Node 22, Python 3.11, `venv`, and OpenAgentFlow extensions ready out of the box!
49+

0 commit comments

Comments
 (0)