Hello! We welcome any and all contributions and we’d be more than happy to help you get started with the codebase.Note: This project is under active development and the code will likely change pretty significantly. We’ll update this message once that’s complete!
# clone the repogit clone https://github.com/director-run/directorcd director# Setup environmentbun installdocker compose up -d./scripts/setup-development.shbun run test # confirm everything is working# Teardown environmentdocker compose down -v
# Running cli in developmentbun cli serve # start the gatewaybun cli:dev # watches for changes# Working with the registry# Uncomment the lines in this filevim apps/cli/.director/development/config.envbun registrybun cli registry populate # populate the development database with server entriesbun cli registry enrich # populate the development database with server entriesbun cli registry enrich-tools # populate the development database with server entries
Add or update tests. Every new feature or bug‑fix should come with test coverage that fails before your change and passes afterwards. 100 % coverage is not required, but aim for meaningful assertions.
Document behaviour. If your change affects user‑facing behaviour, update the README.md or the relevant apps/docs page.
Keep commits atomic. Each commit should compile and the tests should pass. This makes reviews and potential rollbacks easier.
# Bump the version$ ./scripts/print-version.sh0.0.1$ ./scripts/bump-version.sh 0.0.2# Merge the PR in GitHub$ git checkout main && git pull$ ./scripts/release.sh