Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.12 KB

File metadata and controls

53 lines (40 loc) · 1.12 KB

Quick Vercel Deployment Guide

Quick Start

  1. Install Vercel CLI (if not already installed):

    npm i -g vercel
  2. Login to Vercel:

    vercel login
  3. Deploy:

    vercel
  4. Set Environment Variables (if using AI features):

    vercel env add OPENAI_API_KEY
  5. Deploy to Production:

    vercel --prod

Files Created for Vercel

  • vercel.json - Vercel configuration
  • api/index.py - Serverless function entry point
  • .vercelignore - Files to exclude
  • VERCEL_DEPLOYMENT.md - Detailed deployment guide

Important Notes

⚠️ Vercel Limitations:

  • Files are ephemeral - generated claims/dossiers won't persist
  • Function timeout: 60 seconds (Pro plan) or 10 seconds (Free)
  • Consider external storage (S3, database) for production

Alternative: Deploy via GitHub

  1. Push code to GitHub
  2. Go to https://vercel.com/new
  3. Import your repository
  4. Vercel will auto-detect Python
  5. Add environment variables in dashboard
  6. Deploy!

See VERCEL_DEPLOYMENT.md for detailed instructions.