Makefile 601 Bytes
Newer Older
1 2 3 4 5 6 7
# You need to have source the env before using the makefile
.PHONY: docs

install_backend:
	pip install -r requirements.txt --quiet

generate_backend:
8
	export PYTHONPATH=$$PWD ; python ./backend/generate/generate_all.py
9

10 11 12
generate_frontend:
	python ./frontend/generate/generate_frontend_files.py

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
test_backend: generate_backend
	pytest

test_backend_server:
	pytest -n 4 general/ frontend/ backend/ --cov-report html

check_backend: generate_backend
	./manage.py check

run_backend: generate_backend
	./manage.py runserver


docs:
	cd docs/UML && $(MAKE) all

docs_clean:
	cd docs/UML && $(MAKE) clean