Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.02 KB

CONTRIBUTING.md

File metadata and controls

53 lines (43 loc) · 1.02 KB

Contribution

Development

Setup

  1. Make sure you have pipx installed.

  2. Install poetry

    pipx install poetry
  3. Install nox

    pipx install nox
  4. Clone the repository:

    git clone https://github.com/dldevinc/ssi-views
  5. Navigate to the project root directory:

    cd ssi-views
  6. Install python dependencies:

    poetry install
    ```1. Install Django without modifying `poetry.lock` file:
    ```shell
    poetry run pip install django
    ```1. Run test project
    ```shell
    python3 manage.py migrate
    python3 manage.py loaddata tests/fixtures.json
    python3 manage.py runserver

    Django admin credentials: admin / admin

Formatting

To run black, isort and flake8:

nox -Rt style fix

Testing

To run unit tests:

nox -Rt test