This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
3517e9e
commit b5367f8
Showing
2 changed files
with
109 additions
and
1 deletion.
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
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,108 @@ | ||
# π Contributing to Gakimint | ||
|
||
First off, thank you for considering contributing to Gakimint! It's people like you that make Gakimint such a great tool. π | ||
|
||
## π Getting Started | ||
|
||
Before you begin: | ||
|
||
- Make sure you have a [GitHub account](https://github.com) | ||
- Familiarize yourself with [Git](https://git-scm.com/) | ||
- Read our [Code of Conduct](CODE_OF_CONDUCT.md) | ||
|
||
## π΄ Forking the Repository | ||
|
||
1. Head over to the [Gakimint repository](https://github.com/AbdelStark/gakimint) on GitHub | ||
2. Click the "Fork" button in the upper right corner | ||
3. VoilΓ ! You now have your own copy of the repository | ||
|
||
## π Setting Up Your Development Environment | ||
|
||
1. Clone your fork locally: | ||
|
||
```bash | ||
git clone https://github.com/your-username/gakimint.git | ||
cd gakimint | ||
``` | ||
|
||
1. Add the original repository as a remote called "upstream": | ||
|
||
```bash | ||
git remote add upstream https://github.com/AbdelStark/gakimint.git | ||
``` | ||
|
||
1. Install dependencies: | ||
|
||
```bash | ||
mix deps.get | ||
``` | ||
|
||
1. Create a new branch for your feature or bugfix: | ||
|
||
```bash | ||
git checkout -b your-feature-name | ||
``` | ||
|
||
## π‘ Making Changes | ||
|
||
1. Make your changes in your feature branch | ||
2. Write or adapt tests as needed | ||
3. Run the test suite to ensure everything is working: | ||
|
||
```bash | ||
mix test | ||
``` | ||
|
||
1. Make sure your code follows our style guide: | ||
|
||
```bash | ||
mix format | ||
mix credo --strict | ||
``` | ||
|
||
1. Check for potential security issues: | ||
|
||
```bash | ||
mix sobelow | ||
``` | ||
|
||
1. Run static analysis: | ||
|
||
```bash | ||
mix dialyzer | ||
``` | ||
|
||
## π€ Submitting Changes | ||
|
||
1. Push your changes to your fork on GitHub: | ||
|
||
```bash | ||
git push origin your-feature-name | ||
``` | ||
|
||
1. Go to your fork on GitHub and click the "New Pull Request" button | ||
1. Ensure the base fork is `AbdelStark/gakimint` and the base is `main` | ||
1. Give your pull request a clear title and description | ||
|
||
## π Reporting Bugs | ||
|
||
1. Ensure the bug was not already reported by searching on GitHub under [Issues](https://github.com/AbdelStark/gakimint/issues) | ||
2. If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/AbdelStark/gakimint/issues/new) | ||
|
||
## π‘ Suggesting Enhancements | ||
|
||
1. Check the [Issues](https://github.com/AbdelStark/gakimint/issues) page to see if the enhancement has already been suggested | ||
2. If not, [create a new issue](https://github.com/AbdelStark/gakimint/issues/new), clearly describing the enhancement and its potential benefits | ||
|
||
## π Commit Message Guidelines | ||
|
||
- Use the present tense ("Add feature" not "Added feature") | ||
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...") | ||
- Limit the first line to 72 characters or less | ||
- Reference issues and pull requests liberally after the first line | ||
|
||
## β Questions? | ||
|
||
Don't hesitate to reach out if you have any questions. | ||
|
||
Thank you for contributing to Gakimint! πβ¨ |