Thank you for investing your time in contributing to our project! Any contribution you make will be reflected on abakus.no ✨.
In this guide you will get an overview of the contribution workflow from opening an issue, creating a pull request and getting it merging in.
To get an overview of the project, read the README. 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
Issues are tracked in the main lego repository.
Like any other website, Abakus' is not perfect, and you may stumble on a problem. This could be everything from a nasty bug to a missing feature, and we appreciate to be to enlightened, no matter the size!
Firstly, search if an issue already exists. If a related issue does not exist, you can open a new one here.
- Fork the repository.
-
Using GitHub Desktop:
- Getting started with GitHub Desktop will guide you through setting up Desktop.
- Once Desktop is set up, you can use it to fork the repo!
-
Using the command line:
- Fork the repo so that you can make your changes without affecting the original project until you're ready to merge them.
- Set up dev environment
-
Install or update to Node.js v16. For more information on how, see this Stack Overflow post.
-
See README for steps on how to install dependencies and start webserver. Remember to read the development guide.
- Create a working branch and start coding!
Commit the changes once you are happy with them. Commit messages are to be thoroughly written. Here are our "rules":
- Write in the imperative mood.
- Limit the subject line to 50 characters.
- Capitalize only the first letter in the subject line.
- Do not put a period at the end of the subject line.
- Add a body (multi-line message) with an explanation, which means we do not recommend using
-m
. - Put a blank line between the subject line and the body.
- Describe what was done and why, but not how.
Do this ✅
Fix foo to enable bar
This fixes the broken behavior of the component by doing xyz.
Not this ❌
fixed bug
Remember to amend your commits if the changes should have been part of a previous commit. Examples of this are formatting and misspellings. For more information on how to rewrite your Git history, read this article.
When you're finished with the changes, create a pull request, also known as a PR. This can be done from the GitHub UI or through the GitHub CLI.
Fill out the pull request template, create and we'll do the rest!
Congratulations 🎉🎉 Webkom thanks you ✨.
Once your PR is merged, your contributions will be publicly visible on Abakus' website within 24 hours (most likely).
If your contribution is deemed worthy, you might be qualified for a LEGO-pin! We will try to make contact, but please reach out if we don't manage.