wordalle / Makefile
radames's picture
prod plus 5min updates
72f8811
raw
history blame
398 Bytes
install-node:
./install-node.sh
build-client:
cd frontend && npm install && npm run build && rm -rf ../static && cp -r build/ ../static/
build-dev:
cd frontend && npm install && NODE_ENV=development npm run build && rm -rf ../static && cp -rv build/ ../static/
run-dev:
FLASK_ENV=development python app.py
run-prod:
python app.py
# build-all: install-node build-client run
build-all: run-prod