fix(makefile): call the real email-template seed scripts
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) <noreply@anthropic.com>
This commit is contained in:
3
Makefile
3
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
|
||||
|
||||
Reference in New Issue
Block a user