Goal
ใช้ Vercel platform สำหรับ deploy และ host web applications ด้วย CI/CD, edge functions และ serverless APIs
Scope
ใช้สำหรับการ deploy Next.js, React, Vue, Svelte apps ด้วย preview deployments และ global edge network
Execute
1. Installation
Install Vercel CLI ด้วย bun add -D vercel
2. Login
Login ด้วย bun vercel login
3. Deploy
Deploy ด้วย bun vercel
4. Git Integration
ใช้ Git integration สำหรับ automatic deployments
5. Preview Deployments
ใช้ preview deployments สำหรับ testing
6. Environment Variables
Configure environment variables ใน dashboard
7. Edge Functions
ใช้ edge functions สำหรับ low latency
8. Image Optimization
ใช้ image optimization สำหรับ performance
9. Monitor
Monitor deployments ใน dashboard
Rules
- ใช้
bun add -D vercelสำหรับ development - ใช้ Vercel CLI สำหรับ local development
- ใช้ Git integration สำหรับ automatic deployments
- ใช้ preview deployments สำหรับ testing
- Configure environment variables ใน dashboard
- ใช้ edge functions สำหรับ low latency
- ใช้ image optimization สำหรับ performance
- Monitor deployments ใน dashboard
Expected Outcome
- Instant deployments ด้วย Git integration
- Preview deployments สำหรับ collaboration
- Global edge network สำหรับ performance