radames's picture
canvas
560b99e unverified
raw
history blame
399 Bytes
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