Spaces:
Configuration error
Configuration error
|
Download docs/modules/usage/customization/repository.md from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/docs/modules/usage/customization/repository.md
- Command line
-
hf download hf://spaces/flyingdarkdev/README/docs/modules/usage/customization/repository.md
-
curl -L -o repository.md https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/docs/modules/usage/customization/repository.md
727 Bytes
| # Repository Customization | |
| You can customize how OpenHands works with your repository by creating a | |
| `.openhands` directory at the root level. | |
| ## Microagents | |
| You can use microagents to extend the OpenHands prompts with information | |
| about your project and how you want OpenHands to work. See | |
| [Repository Microagents](../prompting/microagents-repo) for more information. | |
| ## Setup Script | |
| You can add `.openhands/setup.sh`, which will be run every time OpenHands begins | |
| working with your repository. This is a good place to install dependencies, set | |
| environment variables, etc. | |
| For example: | |
| ```bash | |
| #!/bin/bash | |
| export MY_ENV_VAR="my value" | |
| sudo apt-get update | |
| sudo apt-get install -y lsof | |
| cd frontend && npm install ; cd .. | |
| ``` | |