Deploy to Git Pages / build-and-deploy (push) Failing after 19s
React + Vite static site demonstrating the CRDC School Arrest Rate API. Features 6 interactive charts comparing observed arrest data against Bayesian model estimates across U.S. school districts, with Civilytics visual identity. - State selector and district search with 'interesting' suggestions (top arrests) - Animated histogram loading grid showing posterior draw progress - Charts: time series, rate by group, district vs national, model comparison quadrants, density proxy, exceedance probability - Static JSON fixture for national rates (no API changes needed) - Dockerfile + docker-compose.yml for self-hosted deployment - GitHub Actions workflow and _config.yml for Git Pages
13 lines
412 B
YAML
13 lines
412 B
YAML
# Docker Compose for local development or self-hosted deployment on your fleet.
|
|
# Usage: docker compose up -d
|
|
|
|
services:
|
|
crdc-demo:
|
|
build: .
|
|
ports:
|
|
- "8080:80" # Map host port 8080 → container port 80 (nginx)
|
|
restart: unless-stopped
|
|
environment:
|
|
# Override to point at a staging API if needed; defaults to production.
|
|
VITE_API_BASE: https://crdc-api.civilytics.org/api/v1
|