Committing a fully-materialised cfg/dev.yaml hid the dev configuration surface and blocked the OAuth2 signing-key inlining change: the new config requires a per-dev private key that must not be committed. Replace the checked-in file with a dev-config Make target that shells out to probod-bootstrap with dev-safe defaults and a stable RSA signing key stashed under cfg/.dev-oauth2-signing-key.pem on first run. The recipe sources cfg/dev.env when present so devs can override any setting without editing the Makefile; cfg/dev.env.example ships the full list of overridable knobs. cfg/dev.yaml, cfg/dev.env, and the signing key are all gitignored. Update README, CONTRIBUTING, and contrib/claude/config.md to describe the new workflow. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2.7 KiB
Contributing
Thank you for your interest in contributing to our project!
How to Contribute
- Fork the repository
- Create a new branch for your changes
- Make your changes
- Sign your commits with DCO:
git commit -s -m "Your commit message" - Push to your fork and submit a pull request
Developer Certificate of Origin
We use the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement (CLA) for all contributions to this project. DCO is a legally binding statement that asserts that you are the creator of your contribution and that you wish to allow us to use it in this project.
When you contribute to this repository with a pull request, you need
to sign-off that you agree to the DCO. You do this by adding a
Signed-off-by line to your commit messages containing your name and
email:
git commit -s -m "Your commit message"
This will automatically add a sign-off message to your commit. Alternatively, you can manually add:
Signed-off-by: John Doe <john.doe@example.org>
Code Guidelines
- Keep code clean and simple
- Follow existing code style
- Update documentation if needed
Development Setup
Prerequisites
- Go 1.21+
- Node.js 22+
- Docker
Installation Steps
-
Clone the repository:
git clone https://github.com/getprobo/probo.git cd probo -
Install Go dependencies:
go mod download -
Install JavaScript dependencies:
npm ci -
Build the project:
make build -
Start docker containers:
make stack-up -
Generate the local dev config (writes
cfg/dev.yaml):# Optional: override any dev default (secrets, OAuth clients, LLM keys). # cp cfg/dev.env.example cfg/dev.env && $EDITOR cfg/dev.env make dev-configThe target stashes a dev-only RSA signing key under
cfg/.dev-oauth2-signing-key.pemso tokens survive probod restarts, and sourcescfg/dev.envif present so you can override defaults without editing the Makefile.cfg/dev.yaml,cfg/dev.env, and the signing key are all gitignored. Re-run the target to regenerate. -
Start the development servers:
# In one terminal - start the API server bin/probod -cfg-file cfg/dev.yaml # In another terminal - start the frontend npm -w @probo/console run dev
The application should now be running at http://localhost:3000
For detailed information about all Docker services in the development stack, see Docker Services Documentation.
Need Help?
Create an issue if you:
- Found a bug
- Have a feature request
- Need help with something
Thank you for contributing!