# From local development to a pull request

Reviewed: 2026-10-12
URL: https://mcp.republic-of-engineers.com/en/guides/pull-request/

These steps apply to the existing independent Forgejo BatteryHub project. Current WebRoE maintenance on GitHub follows that repository's README/AGENTS and authorized branch; it does not require pushing back to Forgejo. Both paths require review followed by a separate merge/deployment decision. main is protected; submitting code does not update production.

## Steps

1. After cloning, install Python 3.11, uv, and the required Node.js version according to README.
2. Run uv sync --frozen, npm ci --prefix frontend, and npm run build --prefix frontend.
3. Start local development with uv run --frozen python scripts/develop.py --serve.
4. Create a feature branch from main, read the relevant README/AGENTS, and preserve canonical implementations.
5. Run the complete unittest suite, frontend build, and format:check; update relevant documentation.
6. Push the branch and open a Forgejo PR describing the problem, changes, verification, and limits.

## Expected result

The PR awaits review. Production main is merged after review, then deployed through the release process.

## Limits

The local development bundle contains public samples, not production member data or the full experimental database.
