1. Development Installation

1.1. Requirements

  • Python 3.x

  • Django 2.0 or later

1.2. Development install

After forking or checking out:

$ cd django-api-client/
$ pip install -r requirements-dev.txt
$ pre-commit install

The requirements-dev are only used for development, so we can easily install/track dependencies required to run the tests using continuous integration platforms.

The official entrypoint for distritubution is the requirements.txt which contains the minimum requirements to execute the tests.

1.3. Running tests

$ make test

or:

$ cd test-django-project/
$ py.test -vv -s