From c26d8329608e9abc466049900735f22c45b2c947 Mon Sep 17 00:00:00 2001 From: rdev-worker Date: Wed, 11 Feb 2026 00:55:16 +0000 Subject: [PATCH] build: Set up the monorepo workspace. Ensure the root README describes a pro... --- Dockerfile | 13 ++++++------ README.md | 50 +++++++++++++++++++++++++++++++++++++---------- docs/.gitkeep | 0 packages/.gitkeep | 0 services/.gitkeep | 0 workers/.gitkeep | 0 6 files changed, 47 insertions(+), 16 deletions(-) create mode 100644 docs/.gitkeep create mode 100644 packages/.gitkeep create mode 100644 services/.gitkeep create mode 100644 workers/.gitkeep diff --git a/Dockerfile b/Dockerfile index e7846dc..c88488c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -# Default Dockerfile - replace with your application +# Build stage +FROM node:20-alpine AS build +WORKDIR /app +COPY . . + +# Runtime stage FROM nginx:alpine - -# Copy static files or your app -COPY . /usr/share/nginx/html/ - +COPY --from=build /app/docs /usr/share/nginx/html/ EXPOSE 80 - CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md index 0fdd537..e1bfab9 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,49 @@ -# foundary-test-1770771180 +# Foundary -Deployed at: https://hd6uptqm.threesix.ai +A product studio for conversational product development. Foundary lets teams design, build, and ship products through natural conversation — turning dialogue into working software. + +## How It Works + +Foundary treats conversation as the primary interface for product development. Instead of jumping between specs, tickets, and code, teams describe what they want in plain language and Foundary translates that into running services, APIs, and interfaces. + +## Repository Structure + +``` +├── services/ # Backend services (APIs, core logic) +├── packages/ # Shared libraries and utilities +├── workers/ # Background jobs and async processors +├── docs/ # Documentation and architecture decisions +├── Dockerfile # Container build +└── .woodpecker.yml # CI/CD pipeline +``` ## Getting Started -1. Clone the repository -2. Build with Docker: `docker build -t foundary-test-1770771180 .` -3. Run locally: `docker run -p 8080:8080 foundary-test-1770771180` +1. Clone the repository: + ```bash + git clone https://git.threesix.ai/jordan/foundary-test-1770771180.git + cd foundary-test-1770771180 + ``` -## CI/CD +2. Build: + ```bash + docker build -t foundary . + ``` -This project uses Woodpecker CI for continuous deployment. Pushing to `main` will: -- Build a Docker image -- Push to the container registry -- Deploy to Kubernetes +3. Run locally: + ```bash + docker run -p 8080:8080 foundary + ``` + +## Deployment + +Pushes to `main` trigger automatic deployment via Woodpecker CI: + +1. Build Docker image +2. Push to registry (`registry.threesix.ai`) +3. Update Kubernetes deployment + +Live at: https://hd6uptqm.threesix.ai ## Resources diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/packages/.gitkeep b/packages/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/services/.gitkeep b/services/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workers/.gitkeep b/workers/.gitkeep new file mode 100644 index 0000000..e69de29