From 4292afb40cba52cacf048de9d39b5e5df518c16c Mon Sep 17 00:00:00 2001 From: Anjar Fiandrianto Date: Tue, 16 Jul 2024 08:41:38 +0700 Subject: [PATCH] [#1533] Remove fake data from production seeder script --- backend/seeder.prod.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/backend/seeder.prod.sh b/backend/seeder.prod.sh index 34c31b3ac..060455c12 100755 --- a/backend/seeder.prod.sh +++ b/backend/seeder.prod.sh @@ -18,16 +18,6 @@ if [[ "${add_account}" == 'y' || "${add_account}" == 'Y' ]]; then fi fi -echo "Seed Fake User? [y/n]" -read -r fake_user -if [[ "${fake_user}" == 'y' || "${fake_user}" == 'Y' ]]; then - echo "Creating User for Admin with email admin@akvo.org" - python manage.py createsuperuser \ - --email admin@akvo.org --first_name Admin --last_name One - python manage.py assign_access admin@akvo.org --admin - # python manage.py fake_user_seeder --repeat 50 -fi - echo "Seed Form? [y/n]" read -r seed_form if [[ "${seed_form}" == 'y' || "${seed_form}" == 'Y' ]]; then @@ -35,18 +25,6 @@ if [[ "${seed_form}" == 'y' || "${seed_form}" == 'Y' ]]; then python manage.py generate_config fi -echo "Seed Fake Data? [y/n]" -read -r seed_fake_data -if [[ "${seed_fake_data}" == 'y' || "${seed_fake_data}" == 'Y' ]]; then - python manage.py fake_data_seeder -fi - -echo "Seed Fake Data Claim? [y/n]" -read -r seed_fake_data_claim -if [[ "${seed_fake_data_claim}" == 'y' || "${seed_fake_data_claim}" == 'Y' ]]; then - python manage.py fake_data_claim_seeder -fi - echo "Seed Organisation? [y/n]" read -r seed_organization if [[ "${seed_organization}" == 'y' || "${seed_organization}" == 'Y' ]]; then