Files
copilotkit__copilotkit/showcase/packages/ms-agent-python/entrypoint.sh
Jordan Ritter 2fe80ebc2d Add unified showcase platform
Shell (Next.js): landing page, integrations explorer, docs viewer,
AG-UI docs, feature matrix, search, demo drawer with Frontend/Backend
tabs, profile pages with Live Demo / Code / Docs starter tabs.

17 integration packages with Dockerfiles, QA, tests, manifests.
Build scripts for registry, demo content, starter content, search index.
E2E smoke test suite (52 tests across 4 levels).

Purple color scheme, independent sidebar scrolling, integration
ordering by importance, category grouping, placeholder logos.

Docs: 500+ MDX pages with snippet inlining, remark-gfm, rehype-highlight,
AG-UI sidebar navigation, LFS images.
2026-04-07 14:08:28 -07:00

19 lines
480 B
Bash

#!/bin/bash
set -e
echo "[entrypoint] Starting agent backend on port 8000..."
python -m uvicorn agent_server:app --host 0.0.0.0 --port 8000 2>&1 &
AGENT_PID=$!
echo "[entrypoint] Starting Next.js frontend on port ${PORT:-10000}..."
npx next start --port ${PORT:-10000} 2>&1 &
NEXT_PID=$!
echo "[entrypoint] Agent PID=$AGENT_PID, Next PID=$NEXT_PID"
# Wait for either process to exit
wait -n
EXIT_CODE=$?
echo "[entrypoint] Process exited with code $EXIT_CODE"
exit $EXIT_CODE