Skip to content

Quick Start Guide

Get up and running with VibeCode in minutes! This guide will help you set up your first workspace and generate your first AI-powered project.

Before you begin, ensure you have:

  • Node.js ≥18.18.0 (recommend using Node 25.x for best performance)
  • PostgreSQL 16+ with pgvector extension
  • Redis 6+ (or Upstash account for managed Redis)
  • Docker and Docker Compose (optional, for containerized setup)
  1. Clone the repository

    Terminal window
    git clone https://github.com/ryanmaclean/vibecode-webgui.git
    cd vibecode-webgui
  2. Install dependencies

    Terminal window
    npm install --legacy-peer-deps
  3. Set up environment variables

    Terminal window
    cp .env.example .env

    Edit .env with your configuration:

    Terminal window
    # Database
    DATABASE_URL="postgresql://username:password@localhost:5432/vibecode"
    # Redis
    REDIS_URL="redis://localhost:6379"
    # Authentication
    NEXTAUTH_SECRET="your-secret-key-here"
    NEXTAUTH_URL="http://localhost:3000"
    # AI Services
    OPENAI_API_KEY="your-openai-key"
    ANTHROPIC_API_KEY="your-anthropic-key"
  4. Initialize the database

    Terminal window
    npm run db:migrate
    npm run db:generate
  5. Start the development server

    Terminal window
    npm run dev

    Visit http://localhost:3000 to see your VibeCode instance!

  1. Clone and navigate to the repository

    Terminal window
    git clone https://github.com/ryanmaclean/vibecode-webgui.git
    cd vibecode-webgui
  2. Start with Docker Compose

    Terminal window
    docker-compose -f docker-compose.dev.yml up -d
  3. Initialize the database

    Terminal window
    docker-compose exec app npm run db:migrate

Navigate to http://localhost:3000 and sign in with your preferred authentication method.

  1. Click “Generate New Project” on the dashboard

  2. Describe your project in natural language:

    Example prompts:

    • “Create a React todo app with TypeScript and Tailwind CSS”
    • “Build a Next.js blog with Markdown support and dark mode”
    • “Generate a Python FastAPI backend with PostgreSQL”
  3. Choose a template or let AI select the best one

  4. Click “Generate Project”

  • Code Editor: Full VS Code experience in your browser
  • Terminal: Integrated terminal for running commands
  • File Explorer: Navigate and edit your project files
  • AI Assistant: Get help and suggestions as you code

Once you’re happy with your project, deploy it with one click:

  1. Go to the Deploy tab
  2. Choose your deployment target (Vercel, Netlify, Railway, etc.)
  3. Click “Deploy Now”
  • Natural Language: Describe what you want to build
  • Context Aware: AI understands your project structure
  • Multiple Models: Choose between OpenAI, Claude, and others
  • Live Editing: See changes from team members in real-time
  • Conflict Resolution: Automatic handling of simultaneous edits
  • Chat Integration: Discuss changes without leaving the editor
  • VS Code Experience: Full-featured editor with extensions
  • Terminal Access: Run any command or script
  • Git Integration: Built-in version control
  • One-Click Deploy: Deploy to major platforms instantly
  • Environment Management: Separate dev, staging, and production
  • Monitoring: Built-in observability and metrics

Generate a working prototype in minutes:

  • Describe your idea to the AI
  • Get a functional application
  • Iterate and refine quickly

Explore frameworks and tools:

  • Ask AI to create examples
  • Learn from generated code
  • Experiment safely

Work together effectively:

  • Share workspaces with team members
  • Real-time editing and discussion
  • Version control and deployment

Build production applications:

  • Use enterprise templates
  • Implement security best practices
  • Deploy with confidence

Now that you have VibeCode running:

  1. Explore AI Features - Learn about advanced AI capabilities
  2. Read the Developer Guide - Understand the architecture and contribute
  3. Check the API Reference - Integrate with external services
  4. Set up Monitoring - Add observability to your deployment

Database connection errors

  • Ensure PostgreSQL is running and accessible
  • Verify DATABASE_URL is correct
  • Check that the database exists

Redis connection issues

  • Confirm Redis is running
  • Verify REDIS_URL configuration
  • Check firewall settings

AI features not working

  • Verify API keys are set correctly
  • Check API key permissions and quotas
  • Review logs for specific error messages
  • Documentation: Search these docs for answers
  • GitHub Issues: Report bugs and request features
  • Community: Join discussions and get help from other users

🔧 Production Setup

🚀 Advanced Features


🎉 Congratulations! You now have VibeCode up and running. Start building amazing projects with AI assistance!