Skip to content

Commit 5763c38

Browse files
authored
Merge pull request #76 from mahendra3399/contribution-guide
updated CONTRIBUTING.md file
2 parents 5e003f1 + 7a78174 commit 5763c38

File tree

1 file changed

+179
-57
lines changed

1 file changed

+179
-57
lines changed

CONTRIBUTING.md

Lines changed: 179 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,200 @@
1-
# Contributing
1+
# Contributing Guidelines 🤝
22

3-
When contributing to this repository, please first discuss the change you wish to make via issue or any other method with the owners of this repository before making a change.
43

5-
## Pull Request Process
64

7-
1. Clone the repositoriy
5+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
6+
 
7+
[![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/Naereen/badges/)
88

9-
2. edit the code according to the issue
109

11-
3. make a pull request after commiting
10+
# Contributing to Board
1211

13-
### Our Pledge
12+
Thank you for considering contributing to Black Board! We welcome contributions from the community and are excited to see what you can bring to the project.
1413

15-
In the interest of fostering an open and welcoming environment, we as
16-
contributors and maintainers pledge to making participation in our project and
17-
our community a harassment-free experience for everyone, regardless of age, body
18-
size, disability, ethnicity, gender identity and expression, level of experience,
19-
nationality, personal appearance, race, religion, or sexual identity and
20-
orientation.
14+
## Table of Contents
2115

22-
### Our Standards
16+
1. [Code of Conduct](#code-of-conduct)
17+
2. [How to Contribute](#how-to-contribute)
18+
3. [Creating Issues](#creating-issues)
19+
4. [Writing Better Comments for Issue Assignment](writing-better-comments-for-issue-assignment)
20+
5. [Setting Up Your Development Environment](#setting-up-your-development-environment)
21+
6. [Making Changes](#making-changes)
22+
7. [Submitting Your Changes](#submitting-your-changes)
23+
8. [How to Create Pull Requests](#how-to-create-pull-requests)
24+
9. [Time Limit for Assigned Issue](#time-limit-for-assigned-issues)
25+
10. [Gathering Contributor Information](#gathering-contributor-information)
26+
11. [Style Guide](#style-guide)
27+
12. [Testing](#testing)
28+
13. [Documentation](#documentation)
29+
14. [Contact](#contact)
2330

24-
Examples of behavior that contributes to creating a positive environment
25-
include:
31+
## Code of Conduct
2632

27-
- Using welcoming and inclusive language
28-
- Being respectful of differing viewpoints and experiences
29-
- Gracefully accepting constructive criticism
30-
- Focusing on what is best for the community
31-
- Showing empathy towards other community members
33+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
3234

33-
Examples of unacceptable behavior by participants include:
35+
## Our Pledge
3436

35-
- The use of sexualized language or imagery and unwelcome sexual attention or
36-
advances
37-
- Trolling, insulting/derogatory comments, and personal or political attacks
38-
- Public or private harassment
39-
- Publishing others' private information, such as a physical or electronic
40-
address, without explicit permission
41-
- Other conduct which could reasonably be considered inappropriate in a
42-
professional setting
37+
We pledge to foster an open, welcoming environment free from harassment for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, experience level, nationality, personal appearance, race, religion, or sexual identity and orientation.
4338

44-
### Our Responsibilities
39+
## Our Standards
40+
Positive behaviors include:
4541

46-
Project maintainers are responsible for clarifying the standards of acceptable
47-
behavior and are expected to take appropriate and fair corrective action in
48-
response to any instances of unacceptable behavior.
42+
- Using welcoming and inclusive language.
43+
- Respecting different viewpoints.
44+
- Accepting constructive feedback gracefully.
45+
- Focusing on what's best for the community.
46+
- Demonstrating empathy and kindness.
4947

50-
Project maintainers have the right and responsibility to remove, edit, or
51-
reject comments, commits, code, wiki edits, issues, and other contributions
52-
that are not aligned to this Code of Conduct, or to ban temporarily or
53-
permanently any contributor for other behaviors that they deem inappropriate,
54-
threatening, offensive, or harmful.
48+
Examples of unacceptable behavior:
5549

56-
### Scope
50+
- Sexualized language, imagery, or unwelcome advances.
51+
- Trolling, insults, or derogatory comments.
52+
- Harassment, whether public or private.
53+
- Publishing private information without permission.
54+
- Any behavior that creates an unsafe environment.
5755

58-
This Code of Conduct applies both within project spaces and in public spaces
59-
when an individual is representing the project or its community. Examples of
60-
representing a project or community include using an official project e-mail
61-
address, posting via an official social media account, or acting as an appointed
62-
representative at an online or offline event. Representation of a project may be
63-
further defined and clarified by project maintainers.
56+
## Our Responsibility
6457

65-
### Enforcement
58+
Maintainers are responsible for clarifying acceptable behavior and are empowered to take corrective actions in response to any misconduct.
6659

67-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
68-
reported by contacting the project maintainer at https://github.com/DhanushNehru. All
69-
complaints will be reviewed and investigated and will result in a response that
70-
is deemed necessary and appropriate to the circumstances. The project team is
71-
obligated to maintain confidentiality with regard to the reporter of an incident.
72-
Further details of specific enforcement policies may be posted separately.
60+
## How to Contribute
7361

74-
Project maintainers who do not follow or enforce the Code of Conduct in good
75-
faith may face temporary or permanent repercussions as determined by other
76-
members of the project's leadership.
62+
**1. Fork the Repository**
7763

78-
## THANK YOU :D
64+
Fork the repository to your own GitHub account by clicking the "Fork" button on the top right of the repository page.
65+
66+
**2. Clone the Repository**
67+
68+
Clone the forked repository to your local machine:
69+
70+
```bash
71+
git clone https://github.com/your-username/Board.git
72+
cd Board
73+
```
74+
75+
**3. Create a Branch**
76+
77+
Create a new branch for your feature or bug fix:
78+
79+
```bash
80+
git checkout -b feature/your-feature-name
81+
```
82+
## Creating Issues
83+
84+
If you've encountered a bug or have a feature request, you can create an issue in the repository:
85+
86+
**1. Clear and Concise Title:** Use a descriptive title that summarizes the problem or feature request.
87+
88+
**2. Detailed Explanation:** Provide a clear description of the problem, steps to reproduce (if applicable), and expected behavior. For feature requests, explain the purpose and benefits.
89+
90+
**3. Attachments:** Whenever possible, include screenshots, logs, or code snippets that help explain the issue.
91+
92+
**4. Use Templates:** If issue templates are provided, please use them to ensure that all necessary information is included.
93+
94+
This information will help the maintainers understand the context and prioritize the issue appropriately.
95+
96+
## Writing Better Comments for Issue Assignment
97+
When requesting an issue assignment:
98+
99+
**1. Clearly Describe Your Approach:** Briefly explain how you intend to solve the issue or add the feature. This helps maintainers assess whether your approach aligns with the project's needs.
100+
101+
**2. Be Thoughtful and Constructive:** Use professional language, be polite, and ensure that your comments contribute to a positive and collaborative environment.
102+
103+
**3. Explain Your Availability:** Let the maintainers know if you anticipate any delays in solving the issue, so the maintainers can manage the project timeline efficiently.
104+
105+
106+
## Setting Up Your Development Environment
107+
108+
1. Ensure you have Node.js and npm installed. You can download them from [Node.js](https://nodejs.org/).
109+
2. Install the project dependencies:
110+
111+
```bash
112+
npm install
113+
```
114+
115+
3. Start the development server:
116+
117+
```bash
118+
npm start
119+
```
120+
121+
This will start the development server and you can view the application in your browser at `http://localhost:3000`.
122+
123+
## Making Changes
124+
125+
1. Make your changes to the codebase. Ensure that your code follows the project's coding standards.
126+
2. If you are adding a new feature, consider adding tests to cover your changes.
127+
3. Ensure your code passes all existing tests.
128+
129+
## Submitting Your Changes
130+
131+
### 1. Commit Changes
132+
133+
Commit your changes with a descriptive commit message:
134+
135+
```bash
136+
git add .
137+
git commit -m "Add feature: your feature description"
138+
```
139+
140+
### 2. Push Changes
141+
142+
Push your changes to your forked repository:
143+
144+
```bash
145+
git push origin feature/your-feature-name
146+
```
147+
## How to Create Pull Requests
148+
To submit your work:
149+
150+
**1. Fork the Repository:** Ensure your repository is forked and you have created a new branch for your work.
151+
152+
**2. Make Changes and Test:** Make your changes on the new branch, then ensure that everything is working as expected.
153+
154+
**3. Maintain Clean Commit History:** Organize your commits meaningfully and squash or rebase them if necessary. Ensure each commit has a clear and descriptive message explaining the changes.
155+
156+
**4. Link to the Issue:** In the PR description, link the issue you're addressing (if applicable) by referencing the issue number.
157+
158+
**5. Submit PR:** Go to the original repository and create a pull request from your forked repository. Provide a clear and descriptive title and description for your pull request.
159+
160+
**6. Complete any Requested Changes:** If maintainers request changes to your PR, complete them as soon as possible.
161+
162+
## Time Limit for Assigned Issues
163+
Once an issue is assigned, contributors will have 1-2 days to work on the issue and submit a pull request.
164+
165+
- If you're unable to meet this deadline, please communicate with the maintainers as soon as possible to request an extension.
166+
- If you fail to submit the PR or communicate delays within the specified timeframe, the issue may be reassigned to someone else.
167+
168+
## Gathering Contributor Information
169+
To properly acknowledge the efforts of all contributors:
170+
171+
**1. Collect Information:** I will ensure each contributor’s name, GitHub profile link, and the details of their contributions (e.g., bug fixes, features, etc.) are accurately included.
172+
173+
**2. Markdown Syntax for Formatting:** Contributors will be listed using markdown to create a clean and consistent layout. If appropriate, sections will be created for profiles, images, and descriptions of their contributions.
174+
175+
**3. Sorting by Contribution:** Contributors may be sorted based on role or type of contribution (e.g., bug fix, feature implementation) for better readability.
176+
177+
The expected outcome is a well-organized `CONTRIBUTORS.md` file that acknowledges every contributor's effort while maintaining clarity for visitors of the repository.
178+
179+
## Style Guide
180+
181+
- **Code Formatting**: Ensure your code is properly formatted. We use Prettier for code formatting. You can format your code by running:
182+
183+
```bash
184+
npm run format
185+
```
186+
## Testing
187+
Before submitting your changes, make sure that all tests pass. If you’re adding new features, write corresponding tests as well.
188+
189+
## Documentation
190+
191+
Update the documentation as necessary for any changes, including the README.md and other relevant files.
192+
193+
## Contact
194+
195+
For questions or assistance, feel free to open an issue or contact the maintainers.
196+
197+
Thank you for contributing to Board!
198+
199+
200+

0 commit comments

Comments
 (0)