diff --git a/docs/docs.json b/docs/docs.json index 155538ba..e508b6fc 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -16,12 +16,7 @@ "groups": [ { "group": "Getting Started", - "pages": [ - "introduction", - "getting-started/overview", - "getting-started/quickstart", - "getting-started/docker" - ] + "pages": ["getting-started/overview", "getting-started/quickstart"] }, { "group": "Using Shumai", diff --git a/docs/getting-started/docker.mdx b/docs/getting-started/docker.mdx deleted file mode 100644 index d721fdb1..00000000 --- a/docs/getting-started/docker.mdx +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Get Started with Docker -description: Learn how to spin up the Shumai stack using Docker Compose. ---- - -We support two Docker Compose setups depending on your environment and use case: - -1. **Local Pre-built Stack**: A lightweight setup to run the core API and frontend using pre-built images. -2. **Temporal Stack**: A production-like environment with full background worker orchestration (Agent and Transcode workers) and Temporal services, built from your local source code. - ---- - -## Prerequisites - -Before starting, ensure you have the following installed on your machine: - -- **Docker**: [Install Docker Desktop](https://docs.docker.com/get-docker/) or Docker Engine. -- **Docker Compose**: Included in Docker Desktop, or [installed separately](https://docs.docker.com/compose/install/). -- **Git**: To clone and manage the repository. - ---- - -## 1. Local Pre-built Stack - -This setup runs a PostgreSQL database (with `pgvector`) and the Shumai application container. - -### Step 1: Navigate to the local docker-compose folder - -From the root of your Shumai workspace, run: - -```bash -cd docker-compose/local -``` - -### Step 2: Start the services - -Spin up the containers in detached mode: - -```bash -docker compose up -d -``` - -### Step 3: Access the application - -Once all containers are running and healthy: - -- Open your browser and navigate to **`http://localhost:3000`** to access the Shumai Web UI. - -### Step 4: Tear down - -To stop and remove the containers, run: - -```bash -docker compose down -``` - ---- - -## 2. Temporal Stack (Recommended for Development) - -This setup builds the containers from your local workspace source code and starts the API, workers, and Temporal scheduler. - -### Step 1: Navigate to the temporal docker-compose folder - -From the root of your Shumai workspace, run: - -```bash -cd docker-compose/temporal -``` - -### Step 2: Start the services - -Build the images and run the full stack: - -```bash -docker compose up -d --build -``` - -### Step 3: Access the services - -- **Web UI**: Access the Shumai application at **`http://localhost:3000`**. -- **Temporal Dashboard**: View active workflows and orchestration logs at **`http://localhost:8080`**. - -### Step 4: Tear down - -To stop the services and clean up volumes, run: - -```bash -docker compose down -v -``` - ---- - -## Troubleshooting - -### Port Conflicts - -If you receive port conflict errors, ensure that port `3000` (Web UI), `5432` (PostgreSQL), `7233` (Temporal), or `8080` (Temporal UI) are not currently being used by other processes on your machine. diff --git a/docs/introduction.mdx b/docs/introduction.mdx deleted file mode 100644 index 8f6b1441..00000000 --- a/docs/introduction.mdx +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: Introduction -description: Welcome to Shumai, a modern AI agent and media processing platform. ---- - -## What is Shumai? - -**Shumai** is a highly decoupled, modular platform built with a layered monorepo architecture. It integrates a React-based frontend, a fast Hono API backend, business logic services, and background workflow engines (supporting both local and Temporal-based execution). - -### Key Features - -- **Decoupled Monorepo Structure**: Managed via Bun Workspaces, ensuring each domain or layer is its own self-contained package. -- **Robust API & Core Service Layers**: Built on Bun and Hono, featuring strict end-to-end type safety with Zod schemas and DTOs. -- **Workflow & Activity Engine**: An orchestration engine capable of polling-based execution locally and enterprise-grade execution via Temporal. -- **Modern UI**: A responsive, clean React interface powered by Tailwind CSS and Shadcn UI. -- **Database Resilience**: Prisma ORM with PostgreSQL and `pgvector` for vector similarity and search capabilities. - -## Explore the Documentation - -Get started with Shumai by exploring the guides below: - - - - Learn about Shumai's core concepts, features, and system architecture. - - - Set up Shumai quickly using NPM, from source, or using pre-built Docker containers. - - - Spin up the production-ready Temporal or local developer stack with Docker Compose. - - - Reference all environment variables and S3/database settings. - -