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

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

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

Florent Chehab's avatar
Florent Chehab committed
10
test_backend:
11
	pytest general/ frontend/ backend/
12
13
14
15

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

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

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


docs:
Florent Chehab's avatar
Florent Chehab committed
24
	cd docs && $(MAKE) all
25
26

docs_clean:
Florent Chehab's avatar
Florent Chehab committed
27
	cd docs && $(MAKE) clean