Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b8371ec
feat: Install and test Agentics Hackathon CLI
claude Dec 5, 2025
20e43d6
feat: Initialize Multi-Agent Systems hackathon track
claude Dec 5, 2025
0d73de6
feat: Build first working multi-agent system for entertainment discovery
claude Dec 5, 2025
4cc0071
feat: Add 5 advanced agents for production-grade multi-agent system
claude Dec 5, 2025
ddad432
Merge pull request #1 from dalmaraz007/claude/load-hackathon-package-…
dalmaraz007 Dec 6, 2025
f294cea
docs: Add research, demo guide, and hackathon pitch documents
claude Dec 6, 2025
fcc8ae2
feat: Add system flow diagram with competitive advantages visualization
claude Dec 6, 2025
c6cdc82
docs: Add comprehensive UI/UX design prompt with YouTube colors and c…
claude Dec 6, 2025
a498450
feat: Add Next.js web UI with YouTube design system and 8-agent visua…
claude Dec 6, 2025
819c1c3
docs: Add standalone UI creation prompt for external AI tools
claude Dec 6, 2025
f83f489
docs: Add social-first alternative UI design for reference
claude Dec 6, 2025
f2d7f2e
docs: Add comprehensive flow diagrams for selection, viewing, rating,…
claude Dec 6, 2025
10ec7f8
docs: Add privacy-first architecture and demo video script
claude Dec 6, 2025
32be9a5
feat: Add FastAPI backend wrapper for Python agent system
claude Dec 7, 2025
24ad072
feat: Complete end-to-end integration of Next.js UI with Python agents
claude Dec 7, 2025
a5947b5
docs: Add comprehensive privacy-first architecture section to README
claude Dec 7, 2025
fc8afca
docs: Add comprehensive demo recording preparation resources
claude Dec 7, 2025
c729e10
docs: Add comprehensive project status report for hackathon submission
claude Dec 7, 2025
9a7db0c
docs: Add competitive analysis and updated demo video script v2.0
claude Dec 7, 2025
cd59cd0
docs: Add interactive demo video simulator and competitive analysis
claude Dec 7, 2025
af74846
feat: Add deployment configuration for Vercel, Railway, and Render
claude Dec 7, 2025
3a8ab07
Merge pull request #2 from dalmaraz007/claude/load-hackathon-package-…
dalmaraz007 Dec 7, 2025
a34dcbe
Add Testing section to README_ENTERTAIN_AI.md
karaprado Dec 7, 2025
a0955d4
Add 'YES' to README_ENTERTAIN_AI.md
dalmaraz007 Dec 7, 2025
e046492
Revise README to introduce EntertainAI project
dalmaraz007 Dec 7, 2025
fadf15a
Enhance README with team vision and image
dalmaraz007 Dec 7, 2025
18bd860
Revise README for AI Media Discovery project
dalmaraz007 Dec 8, 2025
c8673ae
Revise README with new images and improved text
dalmaraz007 Dec 8, 2025
7200017
Update README with new sections and images
dalmaraz007 Dec 8, 2025
c9efd51
Update README with improved formatting and emphasis
dalmaraz007 Dec 8, 2025
eeb47e6
Update README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
b78c378
Update README format and headings
dalmaraz007 Dec 8, 2025
6f621b3
Fix formatting issues in README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
1046a19
Update title to include 'Doom' in EntertainAI
dalmaraz007 Dec 8, 2025
5827830
Update README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
22deda7
Fix formatting in README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
d793eb9
Fix formatting and update headings in README
dalmaraz007 Dec 8, 2025
718a426
Enhance README with images and formatting updates
dalmaraz007 Dec 8, 2025
64f6b3b
Fix formatting in README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
d03156b
Update images and formatting in README
dalmaraz007 Dec 8, 2025
4ee800a
Fix formatting in README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
aa179ce
Update README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
da638f6
Update product overview link in README
dalmaraz007 Dec 8, 2025
4a49d6a
Fix formatting of product overview link in README
dalmaraz007 Dec 8, 2025
3791990
Remove citation from README_ENTERTAIN_AI.md
dalmaraz007 Dec 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 269 additions & 0 deletions DEPLOYMENT_GUIDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
# Quick Deployment Guide - Get Your Live Link in 10 Minutes

**Goal:** Deploy EntertainAI to get a shareable live URL

**Stack:** Vercel (Next.js) + Railway (Python FastAPI)

---

## 🚀 Option 1: Vercel + Railway (Fastest - 10 minutes)

### Step 1: Deploy Python Backend to Railway (5 min)

1. **Go to Railway:** https://railway.app/
2. **Sign up/Login** (GitHub auth recommended)
3. **New Project** → **Deploy from GitHub repo**
4. **Select:** `dalmaraz007/agentic-pancakes`
5. **Root Directory:** Set to `/api`
6. **Build Command:** `pip install -r requirements.txt`
7. **Start Command:** `python main.py`
8. **Environment Variables:** (None needed for basic demo)
9. **Deploy** → Wait ~3 minutes
10. **Copy the URL:** e.g., `https://entertainai-api-production.up.railway.app`

### Step 2: Deploy Next.js UI to Vercel (5 min)

1. **Go to Vercel:** https://vercel.com/
2. **Sign up/Login** (GitHub auth recommended)
3. **New Project** → **Import Git Repository**
4. **Select:** `dalmaraz007/agentic-pancakes`
5. **Framework Preset:** Next.js (auto-detected)
6. **Root Directory:** `web-ui`
7. **Environment Variables:**
```
PYTHON_API_URL=https://your-railway-url.up.railway.app
NEXT_PUBLIC_APP_NAME=EntertainAI
NEXT_PUBLIC_APP_VERSION=1.0.0
```
8. **Deploy** → Wait ~2 minutes
9. **Get your URL:** e.g., `https://entertainai.vercel.app`

### ✅ Done! Share your link:
```
https://entertainai.vercel.app
```

---

## 🚀 Option 2: Render (All-in-One - 15 minutes)

### Deploy Both Services on Render

1. **Go to Render:** https://render.com/
2. **Sign up/Login**

#### Backend (Python):
1. **New** → **Web Service**
2. **Connect GitHub:** `dalmaraz007/agentic-pancakes`
3. **Root Directory:** `api`
4. **Build Command:** `pip install -r requirements.txt`
5. **Start Command:** `uvicorn main:app --host 0.0.0.0 --port $PORT`
6. **Instance Type:** Free
7. **Deploy** → Copy URL

#### Frontend (Next.js):
1. **New** → **Static Site**
2. **Connect GitHub:** `dalmaraz007/agentic-pancakes`
3. **Root Directory:** `web-ui`
4. **Build Command:** `npm run build`
5. **Publish Directory:** `.next`
6. **Environment Variables:**
```
PYTHON_API_URL=https://your-backend.onrender.com
```
7. **Deploy** → Get URL

---

## 🚀 Option 3: Google Cloud (Production-Ready - 30 minutes)

### Deploy to Cloud Run

```bash
# 1. Install Google Cloud CLI
# https://cloud.google.com/sdk/docs/install

# 2. Authenticate
gcloud auth login
gcloud config set project YOUR_PROJECT_ID

# 3. Deploy Backend
cd api
gcloud run deploy entertainai-api \
--source . \
--region us-central1 \
--allow-unauthenticated

# 4. Get backend URL
# e.g., https://entertainai-api-xxxxx-uc.a.run.app

# 5. Deploy Frontend to Vercel (same as Option 1)
# Set PYTHON_API_URL to the Cloud Run URL
```

---

## 📋 Pre-Deployment Checklist

### Required Files (Already Created ✅)

- ✅ `api/main.py` - FastAPI backend
- ✅ `api/requirements.txt` - Python dependencies
- ✅ `web-ui/package.json` - Next.js dependencies
- ✅ `web-ui/.env.local.example` - Environment template

### Files We Need to Create:

1. **Procfile** (for Railway/Render)
2. **railway.json** (Railway config)
3. **render.yaml** (Render config)
4. **Dockerfile** (optional, for Cloud Run)

---

## 🔧 Quick Deploy Commands

### If you have accounts set up:

```bash
# Deploy to Vercel (from web-ui directory)
cd web-ui
npx vercel --prod

# Deploy to Railway (from api directory)
cd api
railway up

# Deploy to Render
# Use dashboard - no CLI needed
```

---

## 🆘 Common Issues

### Issue 1: CORS Errors
**Fix:** Make sure `api/main.py` has your Vercel URL in allowed origins:

```python
app.add_middleware(
CORSMiddleware,
allow_origins=[
"http://localhost:3000",
"https://your-vercel-app.vercel.app", # Add this
],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
)
```

### Issue 2: Backend Not Responding
**Check:**
1. Railway/Render logs show "Uvicorn running on..."
2. Health endpoint works: `https://your-backend.up.railway.app/health`
3. Environment variable `PYTHON_API_URL` is correct in Vercel

### Issue 3: Next.js Build Fails
**Fix:** Ensure `web-ui/package.json` has all dependencies

---

## 📊 Deployment Status

After deployment, verify:

1. **Backend Health Check:**
```bash
curl https://your-backend-url/health
# Should return: {"status":"healthy","service":"EntertainAI API"}
```

2. **Frontend Loads:**
```bash
curl https://your-frontend-url
# Should return HTML
```

3. **API Integration:**
```bash
curl -X POST https://your-frontend-url/api/recommendations \
-H "Content-Type: application/json" \
-d '{"query":"action thriller"}'
# Should return recommendations
```

---

## 🎯 Recommended Approach for Hackathon Demo

**Use: Vercel + Railway**

**Why:**
- ✅ Fastest deployment (10 minutes)
- ✅ Free tier (no credit card needed)
- ✅ Automatic HTTPS
- ✅ Great performance
- ✅ Easy to share URL

**Steps:**
1. Deploy backend to Railway (5 min)
2. Deploy frontend to Vercel (5 min)
3. Share Vercel URL with judges

---

## 💡 Pro Tips

1. **Custom Domain (Optional):**
- Vercel allows custom domains on free tier
- Railway allows custom domains on free tier
- Example: `entertainai.yourdomain.com`

2. **Analytics:**
- Vercel has built-in analytics
- Add to see demo traffic

3. **Preview Deployments:**
- Every git push creates a preview URL
- Test before promoting to production

4. **Environment Variables:**
- Store in Vercel/Railway dashboard
- Never commit secrets to git

---

## 🔗 Useful Links

- **Vercel Docs:** https://vercel.com/docs
- **Railway Docs:** https://docs.railway.app/
- **Render Docs:** https://render.com/docs
- **Cloud Run Docs:** https://cloud.google.com/run/docs

---

## ✅ Quick Deploy Checklist

- [ ] Railway account created
- [ ] Vercel account created
- [ ] Python backend deployed to Railway
- [ ] Railway URL copied
- [ ] Next.js deployed to Vercel
- [ ] PYTHON_API_URL environment variable set in Vercel
- [ ] Backend health check passes
- [ ] Frontend loads correctly
- [ ] API integration works
- [ ] Live URL shared with judges

**Estimated Time:** 10-15 minutes total

---

**Ready to deploy? Let me know which option you want and I'll guide you through it step-by-step!**

---

**Document Version:** 1.0
**Last Updated:** 2024-12-06
**Status:** Ready for Deployment
Loading