Thank you for your interest in contributing to our project! Any contribution is highly appreciated and will be reflected on our project ✨
In this guide, you will get an overview of the project structure and setup, as well as the workflow from opening an issue, creating a PR, reviewing, and merging the PR.
Here are some resources to help you get started with open source contributions:
- Finding ways to contribute to open source on GitHub
- Set up Git
- GitHub flow
- Collaborating with pull requests
Our preferred way of providing the opportunity for people to contribute to IBIMANUKA is through a process that starts with creating a new issue, the summary of the workflow that you can expect and should adhere to is the following:
- You see an area of improvement in the code base, this could be a fix, feature, refactoring...etc
- Create an issue on our GitHub repository.
- Wait until a team member discusses the issue with you, and if both parties are in agreement, you can start working on the issue.
- Once work has started, you can create a draft pull request and remember to link your pull request with the issue.
- Once the work is complete, change the status of the pull request to ready for review.
- We will review the pull request and if all is good, congratulations! 🥳 you are now an IBIMANUKA contributor (Ikimanuka)!
- If not, we will explain the changes that need to be made for the pull request to be merged or why it can't be merged.
If you would like to be more involved in the development of IBIMANUKA, we would like to invite you to our Discord Server where we can have a chat together and get you involved in the project!
- Don't work on an issue that is already being worked on by someone else.
- Don't work on something without getting a team member's approval, this is to not waste your time by making you work on something that won't be merged.
- Don't demand for your pull request to be approved and merged.
- Be nice to everyone involved, we are aiming to create a positive community around collaborating and contributing towards IBIMANUKA's development.
The Runtime:
The Tech Stack:
Development stuff:
To clone the repo, you firstly need to fork it, and then clone your copy of ibimanuka
locally.
git clone https://github.com/<your-gh-username>/ibimanuka.git
Bun is used as the package manager of IBIMANUKA. With Bun, you don't need to have NodeJS installed at all on your system to be able to run IBIMANUKA. The only tool you need to install dependencies & run IBIMANUKA is Bun!
To install bun, head over to their website which will tell you how to get it installed on your system.
To check that you have Bun installed, simply run the following command:
bun --version
If this commands outputs a version number, you're all good to go.
With bun installed on your machine, the next step would be to install the dependencies that IBIMANUKA relies upon to work, to do this, run the following command:
bun install
Now that Bun & dependencies has been installed, it's time to configure your environment variables so that the project works as expected:
- Duplicate the
.dev.vars.example
file as just.dev.vars
- Populate the values with your own, you will need to sign up to some services in the process. (For example, NeonDB)
You can check out which variables are needed and which are optional in the .dev.vars.example
file.
# Generate migration files
bun db:generate
# Migrate the database schema
bun db:migrate
# Run the project's dev server
bun dev
# Lint & Format using Biome
bun check
# Run the typecheck script
bun check:types
A good PR is small, focuses on a single feature or improvement, and clearly communicates the problem it solves. Try not to include more than one issue in a single PR. It's much easier for us to review multiple small pull requests than one that is large and unwieldy.
If not already done:
-
Clone the fork to your local machine and add upstream remote:
git clone https://github.com/<your username>/ibimanuka.git
cd ibimanuka
git remote add upstream https://github.com/ibimanuka/ibimanuka.git
- Synchronize your local
main
branch with the upstream remote:
git checkout main
git pull upstream main
- Install dependencies with Bun:
bun i
- Create a new branch related to your PR:
git checkout -b fix/bug-being-fixed
- Make changes, then commit and push to your forked repository:
git push -u origin HEAD
-
Go to the repository and make a Pull Request.
-
We will review your Pull Request and either merge it, request changes to it, or close it with an explanation.
Again, thank you so much for your interest in contributing to IBIMANUKA, we really appreciate it, and if there is anything we can do to help your journey, make sure to join our Discord Server.