48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
# Foundary
|
|
|
|
A product studio for conversational product development. Deployed to gbgf39u8.threesix.ai via threesix.ai platform.
|
|
|
|
## Monorepo layout
|
|
|
|
This is a **pnpm workspace monorepo**. Key locations:
|
|
|
|
- `apps/web/` — Frontend web application (`@foundary/web`)
|
|
- `apps/api/` — Backend API server (`@foundary/api`)
|
|
- `packages/shared/` — Shared types, utilities, constants (`@foundary/shared`)
|
|
- `packages/config/` — Shared tsconfig and lint config (`@foundary/config`)
|
|
|
|
Internal dependencies use `workspace:*` protocol.
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Install
|
|
pnpm install
|
|
|
|
# Dev
|
|
pnpm dev
|
|
|
|
# Build all
|
|
pnpm build
|
|
|
|
# Docker
|
|
docker build -t foundary .
|
|
docker run -p 8080:80 foundary
|
|
```
|
|
|
|
## Deployment
|
|
|
|
Pushes to `main` trigger automatic deployment via Woodpecker CI:
|
|
1. Build Docker image (multi-stage)
|
|
2. Push to registry (registry.threesix.ai)
|
|
3. Update Kubernetes deployment
|
|
|
|
Live at: https://gbgf39u8.threesix.ai
|
|
|
|
## Constraints
|
|
|
|
- Keep the Dockerfile optimized for build time
|
|
- Use multi-stage builds when possible
|
|
- All config via environment variables
|
|
- Use pnpm for package management — no npm or yarn
|