update fixture scripts

This commit is contained in:
Corban-Lee Jones 2024-01-09 22:48:41 +00:00
parent cae5ac024e
commit 8acb8c3aca
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,4 @@
@echo off
venv\Scripts\activate
python manage.py migrate

View File

@ -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!