From 8acb8c3aca5ed165b47c52459d0be902111cb209 Mon Sep 17 00:00:00 2001 From: corbz Date: Tue, 9 Jan 2024 22:48:41 +0000 Subject: [PATCH] update fixture scripts --- scripts/fixtures.bat | 1 - scripts/fixtures.sh | 13 +++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/fixtures.bat b/scripts/fixtures.bat index 26d1013..2c6b034 100644 --- a/scripts/fixtures.bat +++ b/scripts/fixtures.bat @@ -1,5 +1,4 @@ @echo off -venv\Scripts\activate python manage.py migrate diff --git a/scripts/fixtures.sh b/scripts/fixtures.sh index 051d6e9..602df4f 100755 --- a/scripts/fixtures.sh +++ b/scripts/fixtures.sh @@ -1,10 +1,19 @@ -source venv/bin/activate - +echo migrating python manage.py migrate +echo installing departments python manage.py loaddata apps/fixtures/authentication/department.json + +echo installing default users python manage.py loaddata apps/fixtures/authentication/defaultuser.json +echo installing ticket priorities python manage.py loaddata apps/fixtures/home/ticketpriority.json + +echo installing ticket tags python manage.py loaddata apps/fixtures/home/tickettag.json + +echo installing default tickets python manage.py loaddata apps/fixtures/home/defaulttickets.json + +echo all done! \ No newline at end of file