File size: 457 Bytes
bb88c4d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
set-env:
	pip install -r requirements.txt
	cd frontend && npm install && cp .env.development.example .env.development && cp .env.example .env
build-client:
	cd frontend && npm install && 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-prod:
	python app.py
build-all: run-prod