From 04b5137d27312b9048f7a26c6f38eb43ed4c1611 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 3 Jan 2018 15:29:13 +0100 Subject: [PATCH] add the currencies app to the setup script --- ansible/roles/web_AI-5/tasks/setup_script.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/web_AI-5/tasks/setup_script.sh b/ansible/roles/web_AI-5/tasks/setup_script.sh index 6243fb4..1bcd57b 100755 --- a/ansible/roles/web_AI-5/tasks/setup_script.sh +++ b/ansible/roles/web_AI-5/tasks/setup_script.sh @@ -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