From 504c2ee56b92c97e00e365568304f349b0c5bb72 Mon Sep 17 00:00:00 2001 From: Tris Forster Date: Tue, 12 May 2026 23:24:46 +1000 Subject: [PATCH] Moving makefile to poetry --- .gitignore | 1 + Makefile | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f8ffa75..0237e54 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ poetry.lock /local_storage /media /index +/dist diff --git a/Makefile b/Makefile index 8e600dc..539e2f0 100644 --- a/Makefile +++ b/Makefile @@ -9,15 +9,17 @@ test: check check: poetry run ruff check app +build: + poetry build + dev-setup: - env/bin/pip install -r requirements.txt - env/bin/pip install -r dev-requirements.txt - ${PYTHON} manage.py migrate - ${PYTHON} manage.py createsuperuser --username admin --email admin@localhost + poetry install --with=dev + poetry run manage migrate + poetry run manage createsuperuser --username admin --email admin@localhost upgrade: - ${PYTHON} manage.py migrate - ${PYTHON} manage.py collectstatic + poetry run manage migrate + poetry run manage collectstatic ${MAKE} libraries libraries: static/dropzone static/fonts/Quicksand_Book.otf