-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
222 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Umeme Upo Code of Conduct | ||
|
||
## Purpose | ||
|
||
The Umeme Upo project is dedicated to providing a safe, inclusive, and welcoming environment for all contributors and participants. This Code of Conduct outlines our expectations and guidelines for behavior within the project. | ||
|
||
## Expected Behavior | ||
|
||
As a contributor of the Umeme Upo , we expect you to: | ||
|
||
- Be respectful and considerate of others. | ||
- Be inclusive and welcoming, regardless of background, identity, or experience. | ||
- Choose your words carefully and avoid offensive or disrespectful comments. | ||
- Listen actively and be open to different perspectives. | ||
|
||
## Unacceptable Behavior | ||
|
||
Unacceptable behavior includes, but is not limited to: | ||
|
||
- Harassment, discrimination, or intimidation in any form. | ||
- Offensive or inappropriate comments, gestures, or images. | ||
- Disruptive behavior in any project spaces, online or offline. | ||
- Any form of unwelcome sexual attention or advances. | ||
|
||
## Reporting and Enforcement | ||
|
||
If you witness or experience behavior that violates this Code of Conduct, please report it promptly to [contact person or email]. | ||
|
||
All reports will be treated seriously and responded to promptly. The project maintainers are responsible for enforcing the Code of Conduct, and they have the right to take appropriate corrective action, including the removal of content, banning individuals, or reporting violations to relevant authorities. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies to all Umeme Upo project spaces, including but not limited to GitHub repositories, communication channels, and events. It extends to all contributors, maintainers, and participants. | ||
|
||
## Acknowledgment | ||
|
||
By participating in the Umeme Upo project, you agree to adhere to this Code of Conduct. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, issues, and other contributions that do not align with this Code of Conduct. | ||
|
||
## Contact | ||
|
||
If you have any concerns, please contact [contact person or email]. All reports will be handled confidentially. | ||
|
||
## License and Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html). The Umeme Upo project is committed to fostering an open and inclusive community, and we appreciate your cooperation in ensuring a positive and respectful environment for all. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
# Umeme Upo Contribution Guide | ||
|
||
## Welcome Contributors! | ||
|
||
Thank you for considering contributing to Umeme Upo! We appreciate your time and effort to make this project better. Please take a moment to review this document in order to understand how to contribute. | ||
|
||
## Table of Contents | ||
|
||
- [Getting Started](#getting-started) | ||
- [Prerequisites](#prerequisites) | ||
- [Installation](#installation) | ||
- [Contributing](#contributing) | ||
- [Creating an Issue](#creating-an-issue) | ||
- [Working on an Issue](#working-on-an-issue) | ||
- [Creating a Branch](#creating-a-branch) | ||
- [Making Changes](#making-changes) | ||
- [Creating a Pull Request](#creating-a-pull-request) | ||
- [Code of Conduct](#code-of-conduct) | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
Before you start contributing, make sure you have the following installed: | ||
|
||
- Node version 18.0.0 or higher | ||
|
||
### Installation | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/fredygerman/umeme-upo.git | ||
cd umeme-upo | ||
``` | ||
|
||
2. Install project dependencies using pnpm: | ||
|
||
```bash | ||
pnpm install | ||
``` | ||
|
||
3. Create a `.env` file using the `.env.example` file as a template: | ||
|
||
```bash | ||
cp .env.example .env | ||
``` | ||
|
||
4. Start the development server: | ||
|
||
```bash | ||
pnpm dev | ||
``` | ||
|
||
## Contributing | ||
|
||
### Creating an Issue | ||
|
||
Before you start working on a feature or a bug fix, you should create an issue. This will allow you to get feedback from the maintainers and other contributors before you start working on it. | ||
|
||
1. Go to the [issues page](https://github.com/fredygerman/umeme-upo/issues) and click on the "New Issue" button. | ||
|
||
2. Select the type of issue you want to create (bug report, feature request, or question). | ||
|
||
3. Fill out the form with the required information. | ||
|
||
4. Click on the "Submit new issue" button. | ||
|
||
### Working on an Issue | ||
|
||
1. Go to the [issues page](https://github.com/fredygerman/umeme-upo/issues) and select an issue to work on. | ||
|
||
2. Leave a comment on the issue to let others know that you are working on it. | ||
|
||
3. Follow the steps in the [Installation](#installation) section to set up the project. | ||
|
||
4. Follow the steps in the [Creating a Branch](#creating-a-branch) section to create a branch for your changes. | ||
|
||
5. Follow the steps in the [Making Changes](#making-changes) section to make changes to the codebase. | ||
|
||
6. Follow the steps in the [Creating a Pull Request](#creating-a-pull-request) section to create a pull request. | ||
|
||
### Creating a Branch | ||
|
||
1. Make sure you are on the `develop` branch: | ||
|
||
```bash | ||
git checkout develop | ||
``` | ||
|
||
2. Create a new branch: | ||
`bash | ||
git checkout -b <username>/feature/<feature-name> | ||
` | ||
|
||
3. Push the branch to GitHub: | ||
|
||
```bash | ||
git push -u origin <username>/feature/<feature-name> | ||
``` | ||
|
||
### Making Changes | ||
|
||
1. Make sure you are on the branch you created in the [Creating a Branch](#creating-a-branch) section. | ||
|
||
2. Make changes to the codebase. | ||
|
||
3. Commit your changes: | ||
|
||
```bash | ||
git add . | ||
git commit -m "commit message" | ||
``` | ||
|
||
4. Push your changes to GitHub: | ||
|
||
```bash | ||
git push | ||
``` | ||
|
||
### Creating a Pull Request | ||
|
||
1. Go to the [pull requests page](https://github.com/fredygerman/umeme-upo/pulls) and click on the "New pull request" button. | ||
|
||
2. Select the branch you created in the [Creating a Branch](#creating-a-branch) section. | ||
|
||
3. Fill out the form with the required information. | ||
|
||
4. Click on the "Create pull request" button. | ||
|
||
## Code of Conduct | ||
|
||
Please read the [Code of Conduct](CODE_OF_CONDUCT.md) before contributing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
License | ||
|
||
Copyright (c) 2023 Fredy German Mgimba | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "Umeme Upo", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
|