Skip to content

Commit 3baebeb

Browse files
committed
refined CONTRIBUTING.md with details for clarity
1 parent 0e40441 commit 3baebeb

File tree

1 file changed

+90
-34
lines changed

1 file changed

+90
-34
lines changed

CONTRIBUTING.md

Lines changed: 90 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,154 @@
1-
# Contributing
1+
# Contributing to OK Lab Flensburg Projects
22

3-
> Thank you for your interest in contributing to this OK Lab Flensburg project! We welcome contributions from the community to help improve #opendata #civictech and #opengovernment applications and prototypes. By contributing to this project, you are helping to make social demographic government data more accessible and usable for everyone.
3+
Thank you for your interest in contributing to this OK Lab Flensburg project! We welcome contributions that help improve #opendata, #civictech, and #opengovernment applications and prototypes. By contributing, you are making social demographic government data more accessible and usable for everyone.
4+
5+
6+
---
47

58

69
## How to Contribute
710

8-
We appreciate all types of contributions, including bug fixes, code improvements, documentation enhancements, and new features. To get started, follow these steps
11+
We appreciate all types of contributions, including:
12+
13+
- Bug fixes.
14+
- Code improvements.
15+
- Documentation enhancements.
16+
- New features or ideas.
17+
18+
Follow these steps to get started:
919

1020

11-
#### Fork the Repository
21+
### 1. Fork the Repository
1222

13-
Click the "Fork" button on the top right corner of this repository's page to create your own copy.
23+
Click the **Fork** button at the top-right corner of this repositorys page to create your own copy.
1424

1525

16-
#### Clone the Repository
26+
### 2. Clone the Repository
1727

18-
Clone your forked repository to your local machine using Git
28+
Clone your forked repository to your local machine:
1929

2030
```bash
2131
git clone https://github.com/your-username/your-project.git
2232
```
2333

2434

25-
#### Create a Branch:
35+
### 3. Create a Branch
2636

27-
Create a new branch for your contribution. Choose a descriptive branch name
37+
Create a new branch for your contribution. Use a descriptive branch name:
2838

2939
```bash
3040
git checkout -b feature/your-feature-name
3141
```
3242

3343

34-
#### Make Changes
44+
### 4. Make Changes
3545

36-
Make your desired changes to the codebase, documentation, or any other project files.
46+
- Implement your changes in the codebase, documentation, or other project files.
47+
- Write clear and concise comments to explain your code.
48+
- Update any relevant documentation if needed.
3749

38-
Test Your Changes: Test your changes to ensure they work as expected. If you're adding new features, make sure to document them properly.
3950

51+
### 5. Test Your Changes
4052

41-
#### Commit Your Changes
53+
- Verify that your changes work as expected.
54+
- Add tests if your changes introduce new functionality or fix a bug.
4255

43-
Commit your changes with a clear and concise commit message
56+
57+
### 6. Commit Your Changes
58+
59+
Write a clear and descriptive commit message:
4460

4561
```bash
46-
git commit -m "Add your commit message here"
62+
git commit -m "Add [feature/bugfix] - Description of your changes"
4763
```
4864

4965

50-
#### Push to Your Fork
66+
### 7. Push Your Changes
5167

52-
Push your changes to your forked repository
68+
Push the changes to your forked repository:
5369

5470
```bash
5571
git push origin feature/your-feature-name
5672
```
5773

5874

59-
#### Create a Pull Request
75+
### 8. Create a Pull Request
76+
77+
Submit a Pull Request (PR) to the original repository. Include:
6078

61-
Go to the original repository and create a Pull Request (PR) from your forked branch to the main branch. Please provide a detailed description of your changes in the PR.
79+
- A detailed description of your changes.
80+
- Links to any related issues (e.g., `Fixes #123`).
81+
- Screenshots, logs, or other supporting information if applicable.
82+
83+
84+
---
6285

6386

6487
## Code Style and Guidelines
6588

66-
We follow specific code style and guidelines to maintain consistency in our codebase. Before submitting your contribution, please make sure to
89+
To maintain consistency and readability, we follow specific code style guidelines. Please ensure your contributions adhere to the following:
90+
91+
- Write clear and concise comments.
92+
- Follow the project's existing code patterns and structure.
93+
- Ensure that each Pull Request addresses a single issue or implements a specific feature.
94+
- Run `pnpm run lint` (or the equivalent for this project) to check for formatting or style issues.
95+
96+
97+
### Checklist Before Submitting Your PR:
98+
99+
- [ ] Code is properly formatted.
100+
- [ ] Tests are included and passing.
101+
- [ ] Documentation is updated, if applicable.
102+
- [ ] Changes are scoped and focused.
67103

68-
- Write clear and concise code comments.
69-
- Keep your PRs focused on addressing a single issue or implementing a specific feature.
70104

71-
By running `pnpm run lint`, you can ensure that your code complies with the project's style and formatting standards, making it easier for reviewers to evaluate your contributions.
105+
---
72106

73107

74108
## Reporting Issues
75109

76-
If you encounter any bugs, issues, or have suggestions for improvements, please report them on our Issue Tracker. When reporting issues, be sure to provide detailed information, including
110+
Found a bug or have an idea? Let us know! Use the Issue Tracker to report issues or suggest improvements.
77111

78-
- A clear description of the problem.
79-
- Steps to reproduce the issue.
80-
- Expected and actual behavior.
81-
- Environment details (e.g., operating system, browser version, etc.).
112+
113+
### Include the Following When Reporting Issues:
114+
115+
1. **Description**: Clearly describe the issue or feature request.
116+
2. **Steps to Reproduce**: Provide step-by-step instructions to replicate the issue.
117+
3. **Expected Behavior**: Explain what you expected to happen.
118+
4. **Actual Behavior**: Describe what actually happened.
119+
5. **Environment Details**: Include operating system, browser version, or other relevant details.
120+
121+
122+
---
82123

83124

84125
## Community and Communication
85126

86-
We value open and respectful communication within our community. If you have questions or need assistance, you can
127+
We value open, respectful, and inclusive communication. If you need help or have questions:
87128

88-
- Join our community in [slack](https://openknowledgegermany.slack.com) to discuss ideas or seek help.
89-
- Reach out to the project maintainers via [email]([email protected]).
129+
- Join our [Slack community](https://openknowledgegermany.slack.com) for discussions and support.
130+
- Email the project maintainers at [[email protected]](mailto:[email protected]).
131+
132+
133+
---
90134

91135

92136
## License
93137

94-
By contributing to this project, you agree that your contributions will be licensed under the project's license.
138+
By contributing to this project, you agree that your contributions will be licensed under the same license as the project. Refer to the [LICENSE](LICENSE) file for details.
139+
140+
141+
---
142+
143+
144+
## Additional Resources
145+
146+
- [GitHub Guides: Forking Projects](https://guides.github.com/activities/forking/)
147+
- [How to Write a Good Commit Message](https://chris.beams.io/posts/git-commit/)
148+
149+
150+
---
95151

96-
Thank you for contributing! Your efforts help make government data more transparent, accessible, and useful to citizens.
97152

98-
Happy coding!
153+
Thank you for contributing! Your efforts make government data more transparent, accessible, and valuable to all citizens. 🚀
154+
**Happy coding!**

0 commit comments

Comments
 (0)