update makefile commands for django3.0

This commit is contained in:
Jonathan Math 2020-10-05 00:40:54 +07:00
parent a8bf9c4540
commit 34184027a6

View file

@ -7,10 +7,7 @@ nb:
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose down
- [[ -d config/certificates ]] && echo "keys exist" || rm -r config/certificates
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d --build --remove-orphans
# wait for the database and then run migrations... there should be a cleaner way to do this
- cd node && npm install & cd ..
- docker-compose exec newsblur_web ./manage.py syncdb --all --noinput
- docker-compose exec newsblur_web ./manage.py migrate --fake
- docker-compose exec newsblur_web ./manage.py migrate
- docker-compose exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json