Quick Start Guide
Get Vows Social AI running locally in under 30 minutes.
Prerequisites
Required
- Node.js 18+ (for Cloudflare Workers)
- Python 3.9+ (for ML services)
- Git (for version control)
Accounts Needed (Free Tier)
- Cloudflare - Workers, Durable Objects, KV, R2
- Supabase - PostgreSQL database (500MB free)
- Qdrant Cloud - Vector database (1GB free)
- Fly.io - ML inference hosting (3 free VMs)
Step 1: Clone Repository
Step 2: Install Dependencies
Cloudflare Workers
ML Inference Service
Step 3: Configure Services
Qdrant Vector Database
- Create free account at https://cloud.qdrant.io
- Create a cluster (1GB free tier)
- Create collection:
Supabase PostgreSQL
- Create project at https://supabase.com
- Run migrations:
Cloudflare Workers
-
Install Wrangler CLI:
-
Configure secrets:
Step 4: Run Locally
Start ML Inference Service
Start Cloudflare Workers (Dev Mode)
Test the API
# Get personalized feed
curl http://localhost:8787/api/feed/user-123
# Record interaction
curl -X POST http://localhost:8787/api/interactions \
-H "Content-Type: application/json" \
-d '{
"userId": "user-123",
"contentId": "content-456",
"action": "view",
"duration": 5
}'
Step 5: Seed Sample Data
# Load sample wedding content
python scripts/seed-sample-data.py
# Verify in Qdrant
python scripts/verify-qdrant.py
Step 6: Deploy to Production
Deploy ML Service to Fly.io
Deploy Workers to Cloudflare
Verify Everything Works
# Run integration tests
npm run test:integration
# Check services
curl https://your-worker.workers.dev/health
curl https://your-ml-service.fly.dev/health
Project Structure
vows_social_ai/
├── workers/
│ └── orchestrator/ # Cloudflare Workers API
├── services/
│ └── ml-inference/ # Fly.io ML service
├── migrations/ # Database schemas
├── scripts/ # Utility scripts
├── docs/ # Architecture docs
└── docs-site/ # MkDocs documentation
Common Issues
Qdrant Connection Fails
- Check API key is correct
- Verify cluster is running
- Test connection:
python scripts/test-qdrant.py
Workers Can't Reach ML Service
- Ensure ML service is deployed and accessible
- Check CORS settings
- Verify secrets are set
Out of Free Tier Resources
- Qdrant: 1GB limit (optimize embeddings)
- Supabase: 500MB limit (archive old data)
- Fly.io: 3 VMs, 256MB each (use shared CPU)
Next Steps
- Architecture Guide - Understand the system
- Component Docs - Deep dive into pieces
- API Reference - API documentation
- Development Workflow - Contributing
Getting Help
- Issues: https://github.com/yourusername/vows_social_ai/issues
- Docs: https://docs.vows.social
- Architecture: See
docs/ARCHITECTURE.md
Ready to build? Check out the Phase 1 Implementation Plan for what's next.