ML model based on Somerville Happiness Survey Data Set.
- Create virtual environment:
python -m venv .venv
- Install dependencies:
poetry install --no-root
- Launch backend:
make backend
- Launch front-end:
- Native: 127.0.0.1:8080
- Streamlit:
make frontend
- Pre-commit:
make eval
- Unit tests:
make test
- Coverage badge:
make cov
- End-to-end build (eval + test + cov):
make build
- Populate
.env
withPOSTGRES_HOST
,POSTGRES_USER
,POSTGRES_PASSWORD
andPOSTGRES_DB
- Docker backend:
make docker-backend
- Docker frontend:
make docker-frontend
- Docker compose:
make docker-compose
- Run
bash deploy_azure.sh