add the test data fixture to the development script

This commit is contained in:
Andreas Zweili 2020-06-15 19:51:46 +02:00
parent 38680d86c8
commit d5fcec4ab1
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ else
python manage.py loaddata nets
python manage.py loaddata softwares
python manage.py shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@example.com', 'password')"
python manage.py loaddata network_inventory.yaml
touch .second_run
fi
python manage.py runserver 0.0.0.0:8000