update the Makefile commands

This commit is contained in:
Andreas Zweili 2020-07-04 11:55:55 +02:00
parent ec9e460d9f
commit f1e8090bf2
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,11 @@ SHELL=/bin/bash
docker:
export DJANGO_SETTINGS_MODULE=network_inventory.settings.docker; \
docker-compose up
docker-compose -f docker-compose-development.yml up
init:
export DJANGO_SETTINGS_MODULE=network_inventory.settings.docker; \
docker-compose -f docker-compose-development.yml run web python manage.py loaddata network_inventory.yaml
test:
docker-compose -f docker-compose-development.yml run web pytest -nauto --nomigrations --cov=. --cov-report=html