First off, thank you for considering contributing to Simple Personal Budget Manager! It's people like you that make it a great tool for everyone.
If you've noticed a bug or have a feature request, make sure to check our Issues page to see if someone else has already created a ticket. If not, go ahead and make one!
If this is something you think you can fix, then fork Simple Personal Budget Manager and create a branch with a descriptive name.
A good branch name would be (where issue #325 is the ticket you're working on):
git checkout -b 325-add-japanese-localization
Make sure you're using the latest version of PHP and have Composer installed. Then, run:
composer install
php artisan test
At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first.
Make sure to take a look at your changes in a browser. You can use Laravel's built-in server:
php artisan serve
Then visit http://localhost:8000
to view the app.
Build style assets:
npm run dev
Your patch should follow the same conventions & pass the same code quality checks as the rest of the project. php artisan test
will give you feedback in this regard.
At this point, you should switch back to your master branch and make sure it's up to date with Simple Personal Budget Manager's master branch:
git remote add upstream git@github.com:mariominondo/simple-budget-manager.git
git checkout master
git pull upstream master
Then update your feature branch from your local copy of master, and push it!
git checkout 325-add-japanese-localization
git rebase master
git push --set-upstream origin 325-add-japanese-localization
Finally, go to GitHub and make a Pull Request :D
If a maintainer asks you to "rebase" your PR, they're saying that a lot of code has changed, and that you need to update your branch so it's easier to merge.
To learn more about rebasing in Git, there are a lot of good resources but here's the suggested workflow:
git checkout 325-add-japanese-localization
git pull --rebase upstream master
git push --force-with-lease 325-add-japanese-localization
A team member will review your pull request and provide feedback. Please be patient as review times can vary.
Thank you for your contribution! We appreciate your time and effort to make this project better.