# Create a new repository on GitHub first, then:
git remote add origin https://github.com/YOUR_USERNAME/packd-tools.git
git branch -M main
git push -u origin main- Go to https://vercel.com/new
- Click "Import Git Repository"
- Select your
packd-toolsrepository - Click "Import"
In Vercel, go to Settings > Environment Variables and add all the values from your .env.local file:
NEXT_PUBLIC_SUPABASE_URL=<your-supabase-url>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your-supabase-anon-key>
SUPABASE_SERVICE_ROLE_KEY=<your-supabase-service-role-key>
OPENAI_API_KEY=<your-openai-api-key>
ANTHROPIC_API_KEY=<your-anthropic-api-key>
GOOGLE_AI_API_KEY=<your-google-ai-api-key>
Copy the actual values from your local .env.local file.
Click "Deploy" and wait ~2 minutes.
Once deployed, visit:
https://YOUR-APP-NAME.vercel.app/admin/migrate
Click "Run Database Migration" button.
✅ Done! Your app is live!
If automatic deployment fails:
npm run buildnpm startnpx vercel --prodRun the SQL manually in Supabase:
- Go to https://supabase.com/dashboard/project/dcrfsckfltofpkdyoqps/editor
- Click SQL Editor
- Copy contents of
supabase/migrations/001_modelduel_schema.sql - Paste and click Run
Check that all environment variables are set correctly in Vercel.
- Verify API keys are valid
- Check Supabase connection
- Look at Vercel logs: https://vercel.com/dashboard > Your Project > Logs
- Go to Vercel Project > Settings > Domains
- Add your custom domain
- Update DNS records as instructed
- Wait for SSL certificate (automatic)
After deployment:
- Test ModelDuel at
/tools/modelduel-promptlab - Share the app with users
- Monitor usage in Vercel Analytics
- Build the next tool (API Cost Tracker or ContextKeeper)
🎉 Congratulations! Your app is live!