From 8b56b9f4a41a513a9f0f96518e1cb5f84566841a Mon Sep 17 00:00:00 2001 From: philli-m <5871230+philli-m@users.noreply.github.com> Date: Wed, 4 Oct 2023 09:27:55 +0200 Subject: [PATCH] makefile: add media folder on make install to ensure app can find footer on first make watch --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 08febe02..c7ee5c82 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ VIRTUAL_ENV ?= venv +MEDIA_ROOT = media NODE_BIN = node_modules/.bin SOURCE_DIRS = digitalstrategie apps tests ARGUMENTS=$(filter-out $(firstword $(MAKECMDGOALS)), $(MAKECMDGOALS)) @@ -47,6 +48,7 @@ install: if [ ! -f $(VIRTUAL_ENV)/bin/python3 ]; then python3 -m venv $(VIRTUAL_ENV); fi $(VIRTUAL_ENV)/bin/python3 -m pip install --upgrade -r requirements/dev.txt $(VIRTUAL_ENV)/bin/python3 manage.py migrate + mkdir -p $(MEDIA_ROOT) .PHONY: clean clean: