Contributing to Dcup
March 18, 2025 · View on GitHub
Thanks for taking the time to contribute ❤️ All types of contributions are encouraged and valued!
How to Report a Bug
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
- Open an Issue.
- Explain the behavior you expected and the actual behavior.
- Provide as much context as possible and describe the reproduction steps.
A good bug report includes isolated code examples and steps to reproduce the issue.
How to Request a New Feature
Enhancement suggestions are tracked as GitHub issues.
- Use a clear and descriptive title for the issue.
- Provide a detailed description of the enhancement.
- Explain the current behavior and what you expect to happen.
- Include screenshots or examples when applicable.
- Describe why this enhancement would be useful for Dcup users.
Describe why this enhancement would be useful for Dcup users.
How to Contribute Code to Dcup
Working on Your First Pull Request?
Opening a Pull Request
- Fork the Repository:
git clone https://github.com/Dcup-dev/dcup.git
cd dcup
git remote add upstream https://github.com/Dcup-dev/dcup.git
- Sync Your Local Main Branch:
git checkout main
git pull upstream main
- Install Dependencies:
npm install
- Setting Up the Development Environment
- Copy
.env.exampleinto.env: Update the .env file with your settings. - Launch Required Services: Start PostgreSQL, Redis, and Qdrant with
- Copy
make docker-run
- Start the Development Server:
npm run dev
- Create a New Topic Branch:
git checkout -b feature/my-feature
- Make Your Changes, Commit, and Push:
git push -u origin feature/my-feature
- Open a Pull Request on GitHub: Describe your changes clearly and reference any related issues.
Merge Strategy
We use squash & merge to keep the main branch history clean.
Now you're ready to start building!
Happy coding! 🚀