Spaces:
Runtime error
Runtime error
File size: 398 Bytes
c7d9f1b 72f8811 c7d9f1b 72f8811 31ac7e5 72f8811 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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
|