Thank you for your interest in contributing to BioBranch! This guide will help you get started with the project and make your first contribution.
- Fork the Repository:
- Go to the repository on GitHub and click "Fork."
- In the dropdown, choose "+ Create a new Fork" and click "Create Fork."
- Clone the Forked Repository:
- From your forked repo, copy the URL:
https://github.com/<your-username>/bio-branch.git
- Clone the repository to your local machine:
git clone https://github.com/<your-username>/bio-branch.git cd bio-branch
- If you have already forked the project, update your copy before working:
git remote update
- From your forked repo, copy the URL:
-
Navigate to the project directory:
cd bio-branch
-
Add Remote Upstream:
- Add the original repository as an upstream remote to sync future changes:
git remote add upstream https://github.com/subhadipbhowmik/bio-branch.git
- Add the original repository as an upstream remote to sync future changes:
-
Verify Remotes:
- Check that your origin and upstream remotes are set correctly:
git remote -v
- Check that your origin and upstream remotes are set correctly:
-
Sync with Upstream:
- Pull the latest changes from the upstream repository:
git pull upstream main
- Pull the latest changes from the upstream repository:
-
Install Dependencies:
- For backend changes:
cd server npm install npm start
- For frontend changes:
cd site npm install npm run dev
- For backend changes:
-
Create a Feature Branch:
- Create a new branch for your changes:
git checkout -b <feature-branch>
- Create a new branch for your changes:
-
Make Changes and Track Them:
- After making changes, track them:
git status git diff
- After making changes, track them:
-
Commit Your Changes:
- Stage and commit your changes:
git add . git commit -m "Add feature: <description>"
-
Push Your Changes:
- Push your feature branch to your remote repository:
git push -u origin <feature-branch>
- Push your feature branch to your remote repository:
-
Create a Pull Request:
- Go to your forked repository on GitHub.
- Click on the "Compare & pull request" button.
- Write a title and description for your pull request.
- Mention the issue number in the pull request description (e.g., "Fixes #1") and submit the PR.
🎉 Congratulations! You’ve made a PR to BioBranch. Wait for it to be reviewed and merged by a maintainer.
When contributing to BioBranch, please follow these guidelines:
- Always work on a new branch for each issue or feature.
- Keep your branch updated with the main repository's master branch.
- Write clear and concise commit messages.
- Test your changes thoroughly before submitting a pull request.
- Keep discussions respectful and constructive.
- Go to the project's issues section.
- Choose the appropriate template for your issue.
- Provide a clear description of the issue.
- Wait for someone to look into it before working on it.
- Work on the issue only after it has been assigned to you.
If you're new to Git or GitHub, check out these resources:
You can also reach out to the project maintainers if you're stuck.
- Ensure that your code is self-reviewed before submitting.
- Provide a detailed description of the functionality or changes made.
- Add relevant comments in your code, especially for complex sections.
- Submit your PR using the appropriate PR template.
Please follow these guidelines while contributing:
- Be respectful and considerate towards others.
- Use inclusive language and foster a welcoming environment.
- Avoid personal attacks, harassment, or discrimination.
- Keep discussions focused on constructive topics.
- Be open to feedback from other contributors.
- Participate in code reviews to help improve the project.
Have an idea for a new feature? Feel free to suggest improvements that can enhance BioBranch.
Share BioBranch with others! Promote the project on social media, developer forums, or relevant community platforms.
- Contributors should only work on issues that have been assigned to them.
- Each pull request should be associated with one issue only.
- No minor text edits should be submitted unless necessary.
- Unethical behavior, tampering with files, or harassment will result in disqualification.
- Follow the community guidelines while contributing to ensure a healthy collaborative environment.
Thank you for your contribution! We truly appreciate it.
Learning takes time, and it's okay if things don't make sense right away. We believe in you—you’ve got this! 💪
Show some ❤️ by 🌟 BioBranch!