From 85ba8c854556e965b7a16b22b3171824b6a84de8 Mon Sep 17 00:00:00 2001 From: Mikhail Yumanov Date: Sun, 21 Mar 2021 03:21:56 +0300 Subject: [PATCH] znick#336 moved create_test_data to generate_test_db --- deploy_local_beta/deploy_local_beta_python2.sh | 2 -- deploy_local_beta/generate_test_db.sh | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy_local_beta/deploy_local_beta_python2.sh b/deploy_local_beta/deploy_local_beta_python2.sh index 898a9e25c..8a7bbdec1 100755 --- a/deploy_local_beta/deploy_local_beta_python2.sh +++ b/deploy_local_beta/deploy_local_beta_python2.sh @@ -47,8 +47,6 @@ ANYBETA_report ANYBETA_report "Create test database" $ANYBETA_DEPLOY/generate_test_db.sh ANYBETA_crash_on_error -$ANYBETA_ROOT/anytask/manage.py create_test_data -ANYBETA_crash_on_error ANYBETA_report ANYBETA_report "Deploy completed!" diff --git a/deploy_local_beta/generate_test_db.sh b/deploy_local_beta/generate_test_db.sh index b2eb1081d..813002e66 100755 --- a/deploy_local_beta/generate_test_db.sh +++ b/deploy_local_beta/generate_test_db.sh @@ -15,3 +15,6 @@ echo 'from django.contrib.auth.models import User ; user=User.objects.get(userna ANYBETA_crash_on_error ANYBETA_report "Login: anytask\n Password: pass" + +$ANYBETA_ROOT/anytask/manage.py create_test_data +ANYBETA_crash_on_error