diff --git a/Dockerfile b/Dockerfile index e7ee793..0ab989a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ COPY alembic.ini ./ COPY migrations ./migrations RUN mkdir -p /app/assets/generated -EXPOSE 8000 8501 +EXPOSE 8000 CMD ["uvicorn", "ecommerce_agent.api.main:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/Makefile b/Makefile index 92e0031..5e42508 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ TEST_DATABASE_URL ?= postgresql+asyncpg://ecommerce:ecommerce@postgres:5432/$(TE .DEFAULT_GOAL := help -.PHONY: help env install install-hooks lock up down restart build ps logs logs-api logs-dashboard \ +.PHONY: help env install install-hooks lock up down restart build ps logs logs-api \ migrate lint typecheck format format-check test test-unit \ test-smoke test-integration test-all shell-api db-shell health openapi \ reset-local-data @@ -59,9 +59,6 @@ logs: ## Follow logs for all services. logs-api: ## Follow FastAPI logs. $(COMPOSE) logs -f --tail=200 api -logs-dashboard: ## Follow Streamlit logs. - $(COMPOSE) logs -f --tail=200 dashboard - migrate: env ## Apply application database migrations. $(COMPOSE) run --rm migrate alembic upgrade head @@ -115,10 +112,10 @@ shell-api: ## Open a shell in a one-off API container. db-shell: ## Open psql in the local application database. $(COMPOSE) exec postgres psql -U ecommerce -d ecommerce -health: ## Check local API and dashboard HTTP endpoints. +health: ## Check the local API and web UI HTTP endpoints. curl -fsS http://127.0.0.1:8000/api/health @printf "\n" - curl -fsSI http://127.0.0.1:8501 | head -n 1 + curl -fsSI http://127.0.0.1:8000/trend-inbox | head -n 1 openapi: ## Write the current OpenAPI schema to /tmp/ecommerce-agent-openapi.json. @test -x "$(PYTHON)" || { echo "Run 'make install' first."; exit 1; } diff --git a/assets/design_handoff_b1_workshop/B1 Workshop.html b/assets/design_handoff_b1_workshop/B1 Workshop.html new file mode 100644 index 0000000..67ba1f9 --- /dev/null +++ b/assets/design_handoff_b1_workshop/B1 Workshop.html @@ -0,0 +1,38 @@ + + +
+ + +