Thank you for wanting to contribute to the DSB Streaming Tool repository! This document explains how to report bugs, propose new features, and create pull requests.
- Fork the repository.
- Clone your fork locally:
git clone https://github.com/<your-username>/Streaming-Tool.git
- Add the original repository as upstream:
git remote add upstream https://github.com/Hazeolation/Streaming-Tool.git
- Update your local copy before starting new work:
git fetch upstream git switch master git merge upstream/master
- Project path:
Backend/DSB.StreamBackend/DSB.StreamBackend.csproj - Technology: ASP.NET Core 9, SignalR, SQLite
- Start the backend in Visual Studio or with
dotnet runfromBackend/DSB.StreamBackend. - Configuration files:
appsettings.jsonappsettings.Development.json
- Project path:
Frontend/control-panel - Technology: Angular
- Install dependencies:
cd Frontend/control-panel npm install - Start the frontend:
npm start
- The control panel is usually available at
http://localhost:4200.
Important
The backend and frontend should run together locally so overlays update live via SignalR.
- Bug reports and reproduction steps
- Fixes for existing features
- New overlay components or control panel improvements
- Documentation and screenshots
- Tests or build workflow improvements
- Write clear, concise commit messages.
- Keep branch names short and meaningful, e.g.
fix/[Issue#]-scorebox-updateorfeature/[Issue#]-map-screen. - Follow existing conventions for Angular and C# code.
- Avoid unrelated formatting changes in files unless they are part of your contribution.
- Create a new branch from
master. - In your PR, describe:
- What changed
- Why the change was needed
- How it was tested
- Link relevant issues if applicable.
- Make sure your branch is based on the latest
masterbefore opening the PR.
- Open issues when you find a bug or want to suggest an improvement.
- Describe the behavior as precisely as possible.
- Include reproduction steps, expected behavior, and screenshots if available.
- Backend: Run any existing tests if available and verify locally.
- Frontend: Check changes in the browser against the control panel and overlay pages.
- Ensure key SignalR and overlay features still work.
By contributing, you agree that your code will be used under this repository's license.
If anything is unclear, please open an issue or contact the repository team through GitHub Discussions / Issues.