|
1 | | -# Contributing |
| 1 | +# Contributing to OK Lab Flensburg Projects |
2 | 2 |
|
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 | +--- |
4 | 7 |
|
5 | 8 |
|
6 | 9 | ## How to Contribute |
7 | 10 |
|
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: |
9 | 19 |
|
10 | 20 |
|
11 | | -#### Fork the Repository |
| 21 | +### 1. Fork the Repository |
12 | 22 |
|
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 repository’s page to create your own copy. |
14 | 24 |
|
15 | 25 |
|
16 | | -#### Clone the Repository |
| 26 | +### 2. Clone the Repository |
17 | 27 |
|
18 | | -Clone your forked repository to your local machine using Git |
| 28 | +Clone your forked repository to your local machine: |
19 | 29 |
|
20 | 30 | ```bash |
21 | 31 | git clone https://github.com/your-username/your-project.git |
22 | 32 | ``` |
23 | 33 |
|
24 | 34 |
|
25 | | -#### Create a Branch: |
| 35 | +### 3. Create a Branch |
26 | 36 |
|
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: |
28 | 38 |
|
29 | 39 | ```bash |
30 | 40 | git checkout -b feature/your-feature-name |
31 | 41 | ``` |
32 | 42 |
|
33 | 43 |
|
34 | | -#### Make Changes |
| 44 | +### 4. Make Changes |
35 | 45 |
|
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. |
37 | 49 |
|
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. |
39 | 50 |
|
| 51 | +### 5. Test Your Changes |
40 | 52 |
|
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. |
42 | 55 |
|
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: |
44 | 60 |
|
45 | 61 | ```bash |
46 | | -git commit -m "Add your commit message here" |
| 62 | +git commit -m "Add [feature/bugfix] - Description of your changes" |
47 | 63 | ``` |
48 | 64 |
|
49 | 65 |
|
50 | | -#### Push to Your Fork |
| 66 | +### 7. Push Your Changes |
51 | 67 |
|
52 | | -Push your changes to your forked repository |
| 68 | +Push the changes to your forked repository: |
53 | 69 |
|
54 | 70 | ```bash |
55 | 71 | git push origin feature/your-feature-name |
56 | 72 | ``` |
57 | 73 |
|
58 | 74 |
|
59 | | -#### Create a Pull Request |
| 75 | +### 8. Create a Pull Request |
| 76 | + |
| 77 | +Submit a Pull Request (PR) to the original repository. Include: |
60 | 78 |
|
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 | +--- |
62 | 85 |
|
63 | 86 |
|
64 | 87 | ## Code Style and Guidelines |
65 | 88 |
|
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. |
67 | 103 |
|
68 | | -- Write clear and concise code comments. |
69 | | -- Keep your PRs focused on addressing a single issue or implementing a specific feature. |
70 | 104 |
|
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 | +--- |
72 | 106 |
|
73 | 107 |
|
74 | 108 | ## Reporting Issues |
75 | 109 |
|
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. |
77 | 111 |
|
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 | +--- |
82 | 123 |
|
83 | 124 |
|
84 | 125 | ## Community and Communication |
85 | 126 |
|
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: |
87 | 128 |
|
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 | +--- |
90 | 134 |
|
91 | 135 |
|
92 | 136 | ## License |
93 | 137 |
|
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 | +--- |
95 | 151 |
|
96 | | -Thank you for contributing! Your efforts help make government data more transparent, accessible, and useful to citizens. |
97 | 152 |
|
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