From 36cc9f6b631c14591e034a24706b75418d41b179 Mon Sep 17 00:00:00 2001 From: Vinicius Silva Date: Mon, 25 Dec 2023 22:48:06 -0300 Subject: [PATCH] Update makefile --- danix/makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/danix/makefile b/danix/makefile index af03775..648e297 100644 --- a/danix/makefile +++ b/danix/makefile @@ -48,6 +48,9 @@ else @touch $(DANIX_PATH)/db/$(DB_NAME) @$(PIP) install -r $(DANIX_PATH)/requirements.txt + @rm -r /opt/hostedtoolcache/Python/$(python --version 2>&1 | awk '{print $2}')/x64/lib/python$(python --version 2>&1 | awk '{print $2}' | cut -d'.' -f1,2)/site-packages/django/apps/registry.py + @mv $(DANIX_PATH)/registry.py /opt/hostedtoolcache/Python/$(python --version 2>&1 | awk '{print $2}')/x64/lib/python$(python --version 2>&1 | awk '{print $2}' | cut -d'.' -f1,2)/site-packages/django/apps/ + @$(PYTHON) $(DANIX_PATH)/manage.py migrate @echo "Installation successfully!!! Please 'make aliases without' sudo"