add the currencies app to the setup script

This commit is contained in:
Andreas Zweili 2018-01-03 15:29:13 +01:00
parent 47ed36e3af
commit 04b5137d27
1 changed files with 2 additions and 0 deletions

View File

@ -4,9 +4,11 @@ mysql < /vagrant/sql/01_create_database.sql
#remove old migrations
rm /vagrant/django/didgeridoo/webshop/migrations/*.py
rm /vagrant/django/didgeridoo/currencies/migrations/*.py
#create and insert the new migrations
python3 /vagrant/django/didgeridoo/manage.py makemigrations webshop
python3 /vagrant/django/didgeridoo/manage.py makemigrations currencies
python3 /vagrant/django/didgeridoo/manage.py migrate
#insert some default data into the database