ejfox's picture
Duplicate from huggingface-projects/stable-diffusion-multiplayer
bb88c4d
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