Quick Start Guide
Quick Start Guide
Section titled “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.
Prerequisites
Section titled “Prerequisites”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)
Installation
Section titled “Installation”Option 1: Local Development Setup
Section titled “Option 1: Local Development Setup”-
Clone the repository
Terminal window git clone https://github.com/ryanmaclean/vibecode-webgui.gitcd vibecode-webgui -
Install dependencies
Terminal window npm install --legacy-peer-deps -
Set up environment variables
Terminal window cp .env.example .envEdit
.envwith your configuration:Terminal window # DatabaseDATABASE_URL="postgresql://username:password@localhost:5432/vibecode"# RedisREDIS_URL="redis://localhost:6379"# AuthenticationNEXTAUTH_SECRET="your-secret-key-here"NEXTAUTH_URL="http://localhost:3000"# AI ServicesOPENAI_API_KEY="your-openai-key"ANTHROPIC_API_KEY="your-anthropic-key" -
Initialize the database
Terminal window npm run db:migratenpm run db:generate -
Start the development server
Terminal window npm run devVisit http://localhost:3000 to see your VibeCode instance!
Option 2: Docker Setup
Section titled “Option 2: Docker Setup”-
Clone and navigate to the repository
Terminal window git clone https://github.com/ryanmaclean/vibecode-webgui.gitcd vibecode-webgui -
Start with Docker Compose
Terminal window docker-compose -f docker-compose.dev.yml up -d -
Initialize the database
Terminal window docker-compose exec app npm run db:migrate
Your First AI Project
Section titled “Your First AI Project”1. Access the Platform
Section titled “1. Access the Platform”Navigate to http://localhost:3000 and sign in with your preferred authentication method.
2. Create a New Project
Section titled “2. Create a New Project”-
Click “Generate New Project” on the dashboard
-
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”
-
Choose a template or let AI select the best one
-
Click “Generate Project”
3. Explore Your Generated Project
Section titled “3. Explore Your Generated 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
4. Deploy Your Project
Section titled “4. Deploy Your Project”Once you’re happy with your project, deploy it with one click:
- Go to the Deploy tab
- Choose your deployment target (Vercel, Netlify, Railway, etc.)
- Click “Deploy Now”
Essential Features
Section titled “Essential Features”AI Code Generation
Section titled “AI Code Generation”- Natural Language: Describe what you want to build
- Context Aware: AI understands your project structure
- Multiple Models: Choose between OpenAI, Claude, and others
Real-time Collaboration
Section titled “Real-time Collaboration”- 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
Integrated Development Environment
Section titled “Integrated Development Environment”- VS Code Experience: Full-featured editor with extensions
- Terminal Access: Run any command or script
- Git Integration: Built-in version control
Cloud Deployment
Section titled “Cloud Deployment”- One-Click Deploy: Deploy to major platforms instantly
- Environment Management: Separate dev, staging, and production
- Monitoring: Built-in observability and metrics
Common Use Cases
Section titled “Common Use Cases”1. Rapid Prototyping
Section titled “1. Rapid Prototyping”Generate a working prototype in minutes:
- Describe your idea to the AI
- Get a functional application
- Iterate and refine quickly
2. Learning New Technologies
Section titled “2. Learning New Technologies”Explore frameworks and tools:
- Ask AI to create examples
- Learn from generated code
- Experiment safely
3. Team Collaboration
Section titled “3. Team Collaboration”Work together effectively:
- Share workspaces with team members
- Real-time editing and discussion
- Version control and deployment
4. Enterprise Development
Section titled “4. Enterprise Development”Build production applications:
- Use enterprise templates
- Implement security best practices
- Deploy with confidence
Next Steps
Section titled “Next Steps”Now that you have VibeCode running:
- Explore AI Features - Learn about advanced AI capabilities
- Read the Developer Guide - Understand the architecture and contribute
- Check the API Reference - Integrate with external services
- Set up Monitoring - Add observability to your deployment
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”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
Getting Help
Section titled “Getting Help”- Documentation: Search these docs for answers
- GitHub Issues: Report bugs and request features
- Community: Join discussions and get help from other users
Next Steps
Section titled “Next Steps”🔧 Production Setup
- Production Deployment Guide - Deploy to production with enterprise features
- Azure OpenAI Monitoring - Set up comprehensive monitoring for AI operations
- PostgreSQL + pgvector - Configure vector database for AI features
🚀 Advanced Features
- Kubernetes Secrets Automation - Enterprise-grade secret management
- Developer Guide - In-depth development workflows
🎉 Congratulations! You now have VibeCode up and running. Start building amazing projects with AI assistance!