added shellscript to quickly install fixtures
This commit is contained in:
parent
8c4a06bb33
commit
b0c72bdc0a
10
scripts/fixtures.sh
Executable file
10
scripts/fixtures.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
source venv/bin/activate
|
||||||
|
|
||||||
|
python manage.py migrate
|
||||||
|
|
||||||
|
python manage.py loaddata apps/fixtures/authentication/department.json
|
||||||
|
python manage.py loaddata apps/fixtures/authentication/defaultuser.json
|
||||||
|
|
||||||
|
python manage.py loaddata apps/fixtures/home/ticketpriority.json
|
||||||
|
python manage.py loaddata apps/fixtures/home/tickettag.json
|
||||||
|
python manage.py loaddata apps/fixtures/home/defaulttickets.json
|
Loading…
x
Reference in New Issue
Block a user