Load the inventory fixtures

This commit is contained in:
Andreas Zweili 2023-07-18 20:58:39 +02:00
parent ceda8d419b
commit 986434de8d
1 changed files with 2 additions and 1 deletions

3
dev.sh
View File

@ -34,6 +34,7 @@ setup () {
python ./src/manage.py loaddata nets
python ./src/manage.py loaddata softwares
python ./src/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')"
init
touch .direnv/first_run
fi
overmind quit
@ -61,7 +62,7 @@ cleanall () {
}
init () {
python ./src/manage.py loaddata network_inventory.yaml
python ./src/manage.py loaddata src/network_inventory.yaml
}
debug () {