Skip to Content
SetupStart here

Welcome to Zephyr Development

Zephyr is a monorepo built with Turborepo and Bun. You can run it natively on your machine or use Docker for infrastructure services.

Recommended approach: Use Docker for infrastructure (PostgreSQL, Redis, etc.) and run apps natively with Bun for fast HMR and debugging.

Two Setup Paths

Best for most developers - uses Docker for infrastructure, runs apps natively.

# 1. Clone and install git clone https://github.com/zephverse/zephyr.git cd zephyr bun install # 2. Configure environment bun run env:dev # 3. Start infrastructure (PostgreSQL, Redis, MinIO, etc.) bun run docker:dev # 4. Initialize database bun run db:up # 5. Run apps natively bun run dev

Access your apps:

GUI Tools:

Path 2: Full Docker

Run everything in containers (useful for production-like testing).

# 1. Clone repository git clone https://github.com/zephverse/zephyr.git cd zephyr # 2. Start infrastructure bun run docker:dev # 3. Build and run apps bun run docker:apps

Apps will be available at the same URLs but running inside Docker containers.

Quick Reference

CommandPurpose
bun installInstall all dependencies
bun run docker:devStart infrastructure services
bun run docker:appsRun apps in Docker
bun run devRun apps natively
bun run buildBuild all apps
bun run checkLint and format code
bun run search:initInitialize Meilisearch indexes

What Gets Installed

When you run bun run docker:dev, these services start:

  • PostgreSQL (5433) - Primary database
  • Redis (6379) - Caching layer
  • MinIO (9000/9001) - Object storage
  • Meilisearch (7700) - Search engine
  • RabbitMQ (5672/15672) - Message queue
  • TimescaleDB (5434) - Time-series analytics
  • Prisma Studio (5555) - Database GUI
  • RedisInsight (5540) - Redis GUI

All services are configured and ready to use. No manual setup required!

Next Steps

  1. Prerequisites - Install required tools
  2. Installation - Detailed installation steps
  3. Environment - Configure environment variables
  4. Verification - Verify your setup works
  5. Troubleshooting - Fix common issues

First time setup takes 5-10 minutes for Docker images to download and build. Subsequent starts are much faster (~30 seconds).

Last updated on