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"