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

install_backend:
5
	cd backend && pip install -r requirements.txt --quiet
6

Florent Chehab's avatar
Florent Chehab committed
7
build_frontend:
8
	cd frontend && npm run build
Florent Chehab's avatar
Florent Chehab committed
9

Florent Chehab's avatar
Florent Chehab committed
10
test_backend:
11
	cd backend && pytest base_app/ frontend_app/ backend_app/
12
13

test_backend_server:
14
	cd backend && pytest -n 4 base_app/ frontend_app/ backend_app/ --cov-report html
15

Florent Chehab's avatar
Florent Chehab committed
16
check_backend:
17
	cd backend && ./manage.py check
18

Florent Chehab's avatar
Florent Chehab committed
19
run_backend:
20
	cd backend && ./manage.py runserver
21
22


23
24
documentation:
	cd documentation && $(MAKE) all
25

26
27
documentation_clean:
	cd documentation && $(MAKE) clean