mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* Workaround for GitHub Codespaces * Add devcontainer config * rename devcontainer folder * install netcat * add VS Code Python extension * apt update * give executable path to avoid bugs * configure poetry env * fix postCreateCommand * revert executable path * add postStartCommand * run in background * Add Codespaces badge * add default config * Add Codespaces badge to doc * update comment * apply workaround 2 * refactor * fix lib path * Update on_create.sh * pass env directly to cmd * resolve unexpected merge conflicts * Separated to #2850 * Update README.md Co-authored-by: Graham Neubig <neubig@gmail.com> * Update codespaces link * Update README.md * Separated to #2975 --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Graham Neubig <neubig@gmail.com>
16 lines
389 B
JSON
16 lines
389 B
JSON
{
|
|
"name": "OpenDevin Codespaces",
|
|
"image": "mcr.microsoft.com/devcontainers/universal",
|
|
"customizations":{
|
|
"vscode":{
|
|
"extensions": [
|
|
"ms-python.python"
|
|
]
|
|
}
|
|
},
|
|
"onCreateCommand": "sh ./.devcontainer/on_create.sh",
|
|
"postCreateCommand": "make build",
|
|
"postStartCommand": "USE_HOST_NETWORK=True nohup bash -c 'make run &'"
|
|
|
|
}
|