Files
copilotkit__copilotkit/.gitignore
T
Atai Barkai 099c105272 feat(showcase): Docker-based local dev for Railway parity
Adds a single command to spin up the exact image Railway deploys,
for any of the 17 showcase packages, with a single shared .env:

  ./showcase/scripts/dev-local.sh up [<slug> ...]   # all if empty
  ./showcase/scripts/dev-local.sh down|build|logs|ps|ports

Pieces:
- `docker-compose.local.yml` with a service per package. Ports come
  from `shared/local-ports.json` (langgraph-python -> 3100, ...).
- `.env.example` as a commit-safe template. Real `.env` is gitignored
  and fed to every container via `env_file`, so keys (OPENAI_API_KEY,
  etc.) live in one place.
- `dev-local.sh` wraps `docker compose` and handles the
  `shared_python/` / `shared_typescript/` staging step that CI does
  before `docker build` (see showcase_deploy.yml).
- Staged `shared_*` dirs added to .gitignore.

Shell wiring:
- `shell/next.config.ts` reads `shared/local-ports.json` when
  `SHOWCASE_LOCAL=1` is set and injects it as a public env.
- `/integrations/[slug]/[demo]/preview` uses that map to iframe
  `http://localhost:<port>` instead of `integration.backend_url`.
  Per-slug; any slug not running locally falls back to Railway.
  Unset SHOWCASE_LOCAL -> prod behavior, unchanged.

Full workflow + prerequisites (Colima / Docker Desktop) documented in
showcase/README.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 17:37:37 -07:00

76 lines
1018 B
Plaintext

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
.vscode
.chalk
.claude/*.local.json
.claude/worktrees
# misc
.DS_Store
*.pem
__snapshots__
@generated
node_modules
.pnpm-store
.idea/
cdk_outputs.json
.nx
test-run-comment.md
superpowers/
*.egg-info/
.installed.cfg
*.egg
**/.langgraph_api
*.sqlite
*.sqlite-shm
*.sqlite-wal
__pycache__/
*.env
.doctest-output/
*.next
.venv
.vercel
docs/next-env.d.ts
# Showcase: staged shared contexts for Docker builds (see showcase/scripts/dev-local.sh)
showcase/packages/*/shared_python/
showcase/packages/*/shared_typescript/
# External repos (cloned for development)
ext-apps/
dist
.nx
.angular
build
debug-storybook.log
storybook-static
coverage
.turbo
.langgraph_api
lefthook-local.yml
.husky/
.langgraph_api
# Private agent instructions (not shared with the team)
private-agents.md
# Release artifacts
release-notes.md
release-notes-notion.json
# Binary artifacts
*.dSYM/
*.exe
*.dll
*.so
*.dylib
*.o
*.obj
*.a
*.lib
*.wasm
tasks/