Ensure migrations are always called from the correct directory

This commit is contained in:
Oliver Walters 2019-09-07 22:41:57 +10:00
parent e1ef7174f9
commit 654fbc3847

View File

@ -15,10 +15,11 @@ migrate:
python3 InvenTree/manage.py makemigrations stock
python3 InvenTree/manage.py makemigrations build
python3 InvenTree/manage.py makemigrations order
python3 InvenTree/manage.py migrate
python3 InvenTree/manage.py migrate --run-syncdb
python3 InvenTree/manage.py makemigrations
cd InvenTree && python3 manage.py migrate
cd InvenTree && python3 manage.py migrate --run-syncdb
python3 InvenTree/manage.py check
python3 InvenTree/manage.py collectstatic
cd InvenTree && python3 manage.py collectstatic
# Install all required packages
install: