You are Awesome! Thank you for your Interest in Contributing to this Project 🤗 For Contributions we strictly follow Github Flow.
-
The Project works seamlessly on Python version
3.8.6
-
(Optional) Fork the Repository
-
Clone Your Forked copy/the original repo -
git clone https://github.com/[YOUR-USERNAME]/Kitabe.git
-
Navigate to the directory of project -
cd Kitabe/
-
(Optional) If you're intending to raise an MR else you can skip this step, Create a new branch -
git checkout -b [branch_name]
-
Install requirements from poetry -
poetry install
- If you prefer the vanilla route
poetry export -f requirements.txt --output requirements.txt --without-hashes
skip to step (8)
- If you prefer the vanilla route
-
Activate the environment -
poetry shell
-
Open
BookRecSystem/settings.py
-
Make Migrations -
python manage.py migrate
-
python manage.py runserver
- You're good to Go!!
📝 Raise an issue/start a discussion if you face difficulties while setting up the repo, we'll try to resolve it asap
-
Please go through Github Flow, if not already. :)
-
Discuss your proposed changes & Get assigned.
-
If your changes are approved, do the changes in branch
[branch_name]
. -
Run tests
-
flake8
,python manage.py test
-
Fix if any test fails.
-
Still in branch
[branch_name].
-
Stage and Commit only the required files.
-
git push origin [branch_name] -u
-
Browse here and create a PR from your branch with the appropriate required details.
-
If your PR is accepted, it is automatically deployed once merged. :)
-
That's it!
Tip: To keep your Fork Repo all branches updated with Upstream use this.