Spaces:
Sleeping
Sleeping
File size: 375 Bytes
dacf14a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# Define variables for backend and frontend directories
BACKEND_DIR = backend
FRONTEND_DIR = frontend
start-backend:
cd $(BACKEND_DIR) && pip3 install -r requirements.txt && uvicorn app.main:app --host 0.0.0.0 --port 8000
start-frontend:
cd $(FRONTEND_DIR) && pip3 install -r requirements.txt && streamlit run app.py
up:
$(MAKE) start-backend &
$(MAKE) start-frontend
|