Welcome to Pomotama! I'm excited to have you contribute. Before you get started, please take a moment to review the following guidelines.
Install Node.js
https://nodejs.org/en/download/
Install pnpm using npm
$ npm install -g pnpm
Fork the Repository Clone the Repository
$ git clone https://github.com/teoh4770/Pomotama.git
From your terminal, navigate to the root path of clone
cd path/to/your/clone
Install Dependencies
pnpm i
Run local server
pnpm run dev
-
Fork the Repository: Click the "Fork" button in the upper right corner of the repository's page on GitHub.
-
Clone the Repository: Clone your fork of the repository to your local machine using Git:
git clone https://github.com/teoh4770/Pomotama.git
-
Pick an issue: Checkout the Issues and get an issue assigned to you.
-
Create a Branch: Create a new branch for your contribution:
Branch for creating a feature
git checkout -b feature/issue-number/description
Branch for fixing a bug
git checkout -b bugfix/issue-number/description
-
Make Changes: Make your changes to the project locally on your computer.
-
Commit Changes: Commit your changes with a descriptive commit message:
git commit -m "✨feat: description" git commit -m "🐛fix: description" git commit -m "✅test: descripition" git commit -m "♻️refactor: description" git commit -m "💄style: description"
Reference: https://gitmoji.dev/
-
Push Changes: Push your changes to your fork of the repository on GitHub:
git push origin feature/issue-number/description
-
Create Pull Request: Go to Pomotama on GitHub, and click the "New Pull Request" button. Fill out the necessary information and submit your pull request.
Before making a new issue, make sure there is no duplicate of the issue. If there is no existing issue for the problem create one using the issue form.
New Issue Checklist:
- Issue is not duplicated
- Descripting Title
- Description of the problem/feature
- Steps to replicate problem (if applicable)
- Assign correct labels
For this project, in general, we don't assign issues to anyone. If you find an issue that you can work on, you can assign yourself to the issue. Make sure to link your development branch to the issue.
As a general rule, always branch off from main
. If you need a specific feature that is being worked on, you can branch off from that but make sure to note down which one has to be merged first in the PR.
Here is the convention we have for branch names:
feature/issue-number/description
bugfix/issue-number/description
doc/issue-number/description
refactor/issue-number/description
release/version
A very simple example: feature/1/register-form
Pull request checklist:
- Does my PR have an appropriate title?
- Is my PR up to date with
main
and there are no merge conflict?
If you have any questions or need further assistance, feel free to reach out to CK at Discord or Email.
Happy coding!