File size: 441 Bytes
0e2b5bb
0d12871
0e2b5bb
0d12871
294c4d8
0d12871
0e2b5bb
506a7bc
0e2b5bb
 
 
1
2
3
4
5
6
7
8
9
10
11
build-client:
	cd frontend && npm install && PUBLIC_DEV_MODE=PROD npm run build && rm -rf ../static && cp -r build/ ../static/
build-dev:
	cd frontend && npm install && PUBLIC_DEV_MODE=DEV npm run build-dev && rm -rf ../static && cp -r build/ ../static/
run-front-dev:
	cd frontend && npm install && PUBLIC_DEV_MODE=DEV npm run dev
run-dev:
	rm -rf .data/ && FLASK_DEBUG=development python app.py
run-prod:
	python app.py
build-all: run-prod