- Download and install latest version of git.
- Clone the repository locally
$ git clone https://github.com/Diaga/connectu-backend.git $ cd connectu-backend - Create a virtualenv.
On Windows, activating is different.
$ python3 -m venv venv $ . venv/bin/activate$ venv/Scripts/activate
- Install python dependencies
$ pip install -r requirements.txt
- Install the pre-commit hooks.
$ pre-commit install
We Use GitHub Flow, So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use GitHub Flow). We actively welcome your pull requests:
- Create your branch from master.
- If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Create that pull request!
Commit message and pull request title should follow Conventional Commits.
An easy way to achieve that is to install commitizen and run git cz when committing.