radames's picture
static
0ddef0e
raw
history blame
457 Bytes
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