From f6e224fb248ea65f93119afe2abe0cd7cd968b1c Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sat, 16 May 2026 19:50:13 +0200 Subject: [PATCH] fix(makefile): call the real email-template seed scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit init-prod and db-reset both referenced scripts/seed/seed_email_templates.py which doesn't exist — the real seeders are seed_email_templates_core.py and seed_email_templates_loyalty.py. db-reset would fail mid-way and skip the demo seed entirely. Replace the missing call with both real scripts in both targets. Co-Authored-By: Claude Opus 4.7 (1M context) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e4efe147..f3a21713 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,8 @@ db-reset: @echo "Creating default CMS content pages..." $(PYTHON) scripts/seed/create_default_content_pages.py @echo "Seeding email templates..." - $(PYTHON) scripts/seed/seed_email_templates.py + $(PYTHON) scripts/seed/seed_email_templates_core.py + $(PYTHON) scripts/seed/seed_email_templates_loyalty.py @echo "Seeding demo data..." ifeq ($(DETECTED_OS),Windows) @set SEED_MODE=reset&& set FORCE_RESET=true&& $(PYTHON) scripts/seed/seed_demo.py