Member development
From local development to a pull request
Free to read · Website actions require membership · Reviewed 2026-10-12
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
- After cloning, install Python 3.11, uv, and the required Node.js version according to README.
- Run uv sync --frozen, npm ci --prefix frontend, and npm run build --prefix frontend.
- Start local development with uv run --frozen python scripts/develop.py --serve.
- Create a feature branch from main, read the relevant README/AGENTS, and preserve canonical implementations.
- Run the complete unittest suite, frontend build, and format:check; update relevant documentation.
- 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.