Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 990 Bytes

README.md

File metadata and controls

44 lines (37 loc) · 990 Bytes

wagtail-bootstrap-app

Django CI pdm-managed

A clean PDM based Django app which includes CI

Install with pdm

git clone https://github.com/maerteijn/django-bootstrap-app
pip install pdm
pdm install

Linting

flake8-black and flake8-isort are installed too. The flake8-pylint pluging is still in early development, so we need to call pylint manually

pdm run flake8
pdm run pylint

Black

pdm run black

Isort

pdm run isort

Test

Pytest with coverage is default enabled

pdm run pytest

Run the sandbox

manage.py is included in the sandbox for testing the app

pdm run manage.py migrate
pdm run manage.py createsuperuser
pdm run manage.py runserver