File size: 399 Bytes
142f91b
 
 
560b99e
142f91b
560b99e
142f91b
 
 
 
 
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 && npm run build-dev && rm -rf ../static && cp -r build/ ../static/
run-front-dev:
	cd frontend && npm install && npm run dev
run-dev:
	rm -rf .data/ && FLASK_ENV=development python app.py
run-prod:
	python app.py
build-all: run-prod