File size: 422 Bytes
0e2b5bb
0d12871
0e2b5bb
0d12871
294c4d8
0d12871
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:
	FLASK_ENV=development python app.py
run-prod:
	python app.py
build-all: run-prod