pip install -r requirements/dev.txt
poetry install --with dev
pre-commit install
cp .pre-commit-config.yaml.example .pre-commit-config.yaml
Select your precommit hooks.
pre-commit install --hook-type commit-msg
Then enable the Commit lint
section from your .pre-commit-config.yaml
.
poetry run python-all-tests
Create migration files with
poetry run django-makemigrations
Apply migrations:
poetry run django-migrate --configuration=BlogSite
poetry run django-start --host=0.0.0.0 --port=8000
poetry run django-manage --configuration=BlogSite