Diff of /CONTRIBUTION.md [000000] .. [8b5f87]

Switch to unified view

a b/CONTRIBUTION.md
1
# 📜 **Contributing to Diabetes Prediction Website**
2
3
This document will guide you through the process of contributing to our repository. 
4
We value the time and effort of our contributors, and we strive to create an inclusive and collaborative community.
5
We are happy to welcome all the contributions from anyone willing to improve/add new scripts to this project.
6
Thank you for helping out and remember, **no contribution is too small.**
7
8
<br>
9
10
## Table of Contents
11
12
1. [📏 Code of Conduct](#code-of-conduct)
13
2. [🤝 How to Contribute](#how-to-contribute)
14
    - [🐞 Reporting Bugs](#reporting-bugs)
15
    - [💡 Suggesting Enhancements](#suggesting-enhancements)
16
    - [🔄 Pull Requests](#pull-requests)
17
3. [🎨 Style Guides](#style-guides)
18
    - [📜 Git Commit Messages](#git-commit-messages)
19
    - [💻 Code Style](#code-style)
20
4. [🚀 Getting Started](#getting-started)
21
    - [🍴 Forking the Repository](#forking-the-repository)
22
    - [📥 Cloning the Repository](#cloning-the-repository)
23
    - [🌿 Creating a Branch](#creating-a-branch)
24
    - [✨ Making Changes](#making-changes)
25
    - [📤 Pushing Changes](#pushing-changes)
26
    - [🔧 Creating a Pull Request](#creating-a-pull-request)
27
5. [📚 Additional Resources](#additional-resources)
28
6. [📈 Development Workflow](#development-workflow)
29
7. [🚩 Issue Report Process](#issue-report-process)
30
8. [🤔 Need Help regarding some basics?](#need-help-regarding-some-basics)
31
9. [🚀 Pull Request Process](#pull-request-process)
32
10. [🤝 Community Guidelines](#community-guidelines)
33
11. [📑 Documentation](#documentation)
34
12. [✅ Code Reviews](#code-reviews)
35
13. [🚀 Feature Requests](#feature-requests)
36
14. [☘️ Spread the Word](#spread-the-word)
37
38
<br>
39
40
## 📏 Code of Conduct 
41
Please note we have a [code of conduct](CODE_OF_CONDUCT.md)  please follow it in all your interactions with the project.
42
43
<br>
44
45
## 🤝 How to Contribute
46
47
### 🐞 Reporting Bugs
48
49
If you find a bug, please create an issue using the [Bug Report Template](https://github.com/[your-username]/diabetes-prediction-website/issues/new?template=bug_report.md). Be sure to include detailed information such as the steps to reproduce the bug, the expected outcome, and the actual outcome.
50
51
### 💡 Suggesting Enhancements
52
53
Have a great idea for a new feature? We'd love to hear it! Open an issue using the [Feature Request Template](https://github.com/[your-username]/diabetes-prediction-website/issues/new?template=feature_request.md) and describe your enhancement in detail.
54
55
### 🔄 Pull Requests
56
57
We welcome pull requests for bug fixes, features, and documentation improvements. To ensure your pull request is reviewed promptly, please adhere to the following guidelines:
58
59
- Fork the repository and create a new branch for your work.
60
- Follow the [Style Guides](#style-guides).
61
- Ensure your code is well-documented and includes tests.
62
- Reference any related issues in your pull request description.
63
64
<br>
65
66
### 🤝 Steps to contribute to Chatbot
67
Our chatbot is built using Botpress, a platform for creating powerful AI agents and chatbots. The conversation flow between users and the bot is manually generated using Botpress and can be improved to be more engaging and interactive.
68
Exploring Botpress Studio, [documentation](https://botpress.com/docs/cloud/), and the chatbot itself are the best ways to identify areas for enhancement.
69
70
- Raise an issue related to chatbot enhancement.
71
- Create your botpress account and export the chatbot configurations to your botpress studio using `.bpz` file present in the project directory.
72
- Make your changes and improvements.
73
- Export your `.bpz` file having improved configurations and then replace the current `.bpz` file with yours.
74
- Raise a PR and detail all the changes you've made (including screenshots, if possible).
75
76
For reference: [documentation](https://botpress.com/docs/cloud/) | [video](https://www.youtube.com/watch?v=1EVE2jlFgOc)
77
78
79
## 🎨 Style Guides
80
81
### 📜 Git Commit Messages
82
83
- Use the present tense ("Add feature" not "Added feature").
84
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
85
- Limit the first line to 72 characters or less.
86
- Reference issues and pull requests liberally.
87
88
### 💻 Code Style
89
90
- Follow the [PEP 8](https://pep8.org/) style guide for Python code.
91
- Use meaningful variable and function names.
92
- Write comments and documentation where necessary.
93
94
<br>
95
96
## 🚀 Getting Started
97
98
We welcome contributions! To contribute to this project, follow these detailed steps:
99
100
### 🍴 Forking the Repository
101
   - Navigate to the main repository.
102
   - Click on the "Fork" button in the upper right corner of the repository page. This will create a copy of the repository in your GitHub account.
103
104
### 📥 Cloning the Repository
105
   - Clone your forked repository to your local machine using the following command:
106
     ```bash
107
     git clone https://github.com/<your-username>/<repository-name>.git
108
     ```
109
   - Replace `<your-username>` with your GitHub username and `<repository-name>` with the name of the repository you just forked.
110
111
### 🌿 Creating a Branch
112
   - Navigate into the cloned repository:
113
     ```bash
114
     cd <repository-name>
115
     ```
116
   - Create a new branch for your feature or bug fix:
117
     ```bash
118
     git checkout -b <branch-name>
119
     ```
120
   - Replace `<branch-name>` with a descriptive name for your branch, such as `feature/add-new-feature` or `bugfix/fix-issue`.
121
122
### ✨ Making Changes
123
   - Implement your changes in the new branch you created.
124
   - Ensure that your code follows the project's coding standards and guidelines.
125
   - Test your changes thoroughly to ensure they work as expected.
126
127
### 📝 Commit Your Changes
128
   - Stage your changes for commit:
129
     ```bash
130
     git add .
131
     ```
132
   - Commit your changes with a descriptive commit message:
133
     ```bash
134
     git commit -m "Add detailed description of what your commit does"
135
     ```
136
   - Provide a clear and concise commit message that explains what changes you have made and why.
137
138
### 📤 Pushing Changes to Your Fork
139
   - Push your changes to the branch in your forked repository:
140
     ```bash
141
     git push origin <branch-name>
142
     ```
143
144
### 🔧 Creating a Pull Request
145
   - Go to your forked repository on GitHub.
146
   - Click on the "Compare & pull request" button for the branch you just pushed.
147
   - Provide a descriptive title and detailed description for your pull request.
148
   - Explain what changes you have made, why you made them, and any other relevant information.
149
   - Submit the pull request to the main repository.
150
151
### 🛠 Review Process
152
   - Your pull request will be reviewed by the maintainers of the project.
153
   - Be responsive to any feedback or questions they may have.
154
   - Make any necessary changes as requested by the maintainers.
155
156
### 🎉 Merge
157
   - Once your pull request is approved, it will be merged into the main repository.
158
   - Congratulations! You have successfully contributed to the project.
159
160
<br>
161
162
### Alternatively contribute using GitHub Desktop
163
164
1. **Open GitHub Desktop:**
165
   Launch GitHub Desktop and log in to your GitHub account if you haven't already.
166
167
2. **Clone the Repository:**
168
   - If you haven't cloned the SuperpeechSaga repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository."
169
   - Choose the SuperpeechSaga repository from the list of repositories on GitHub and clone it to your local machine.
170
171
3. **Switch to the Correct Branch:**
172
   - Ensure you are on the branch that you want to submit a pull request for.
173
   - If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.
174
175
4. **Make Changes:**
176
   Make your changes to the code or files in the repository using your preferred code editor.
177
178
5. **Commit Changes:**
179
   - In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit.
180
   - Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to <branch-name>" button to commit your changes to the local branch.
181
182
6. **Push Changes to GitHub:**
183
   After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.
184
185
7. **Create a Pull Request:**
186
  - Go to the GitHub website and navigate to your fork of the SuperpeechSaga repository.
187
  - You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.
188
189
8. **Review and Submit:**
190
   - On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
191
   - Once you're satisfied, click the "Create pull request" button to submit your pull request.
192
193
9. **Wait for Review:**
194
    Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the SuperpeechSaga repository.
195
196
<br>
197
198
## 📈 Development Workflow
199
200
When working on the project, please follow these guidelines:
201
202
1. Always work on a new branch for each separate issue or feature.
203
2. Keep your branch up to date with the main repository's `master` branch.
204
3. Write clear and descriptive commit messages.
205
4. Test your changes thoroughly before submitting a pull request.
206
5. Keep discussions polite and respectful.
207
208
<br>
209
210
## 🚩 Issue Report Process
211
212
1. Go to the project's issues.
213
2. Select the template that better fits your issue.
214
3. Give proper description for the issues.
215
4. Don't spam to get the assignment of the issue.
216
5. Wait for till someone is looking into it !.
217
6. Start working on issue only after you got assigned that issue.
218
219
<br>
220
221
## 🤔 Need Help regarding some basics?
222
223
You can refer to the following articles on basics of Git and Github and also contact the Project Mentors,
224
in case you are stuck:
225
226
- [Forking a Repo](https://help.github.com/en/github/getting-started-with-github/fork-a-repo)
227
- [Cloning a Repo](https://help.github.com/en/desktop/contributing-to-projects/creating-an-issue-or-pull-request)
228
- [How to create a Pull Request](https://opensource.com/article/19/7/create-pull-request-github)
229
- [Getting started with Git and GitHub](https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6)
230
- [Learn GitHub from Scratch](https://docs.github.com/en/get-started/start-your-journey/git-and-github-learning-resources)
231
232
<br>
233
234
## 🚀 Pull Request Process
235
236
1. Ensure that you have self reviewed your code.
237
2. Make sure you have added the proper description for the functionality of the code.
238
3. I have commented my code, particularly in hard-to-understand areas.
239
4. Add screenshot it help in review.
240
5. Submit your PR by giving the necesarry information in PR template and hang tight we will review it really soon.
241
242
<br>
243
244
## 🤝 Community Guidelines
245
246
We expect all contributors to adhere to the following community guidelines:
247
248
1. Be respectful and considerate towards others.
249
2. Use inclusive language and promote a welcoming environment.
250
3. Avoid personal attacks, harassment, or discrimination.
251
4. Keep discussions on-topic and constructive.
252
5. Help others and contribute positively to the community.
253
254
<br>
255
256
## 📑 Documentation
257
- Document any significant changes or additions to the codebase.
258
- Provide clear and concise explanations of the functionality, usage, and any relevant considerations.
259
260
<br>
261
262
## ✅ Code Reviews
263
- Be open to feedback and constructive criticism from other contributors.
264
- Participate in code reviews by reviewing and providing feedback.
265
266
<br>
267
268
## 🚀 Feature Requests
269
- Suggest new features or improvements that you believe would enhance the project.
270
271
<br>
272
273
## ☘️ Spread the Word
274
- Share your experience and the project with others.
275
- Spread the word about the project on social media, developer forums, or any relevant community platforms.
276
- Thank you for your valuable contribution and for being a part of the Clueless Community! Together, we can make a difference. 🚀
277
278
<br>
279
280
## 📚 Additional Resources
281
282
- [GitHub Documentation](https://docs.github.com/)
283
- [Open Source Guides](https://opensource.guide/)
284
- [PEP 8 Style Guide](https://pep8.org/)
285
286
<br>
287
288
Thank you for contributing to the Diabetes Prediction Website! Your efforts help us make a positive impact on health and wellness.
289
290
## **Happy Contributing 🔥** 
291
292
<br>