1000x Deployment Guide
Production URL
https://1000x-patent-app.netlify.app
Hosting
- Platform: Netlify
- Site ID: 822e89f3-bb7f-48cf-a4be-84ee71b20cf5
- Admin: https://app.netlify.com/projects/1000x-patent-app
How to Redeploy
Automatic (Git Push)
Push to main branch triggers automatic deployment (once connected).
Manual CLI Deploy
bash
cd ~/clawd/1000x
netlify deploy --prod
Environment Variables
Required environment variables (set in Netlify dashboard or via
netlify env:set):| Variable | Description | Status |
|----------|-------------|--------|
|
DATABASE_URL | Neon PostgreSQL connection string | ✅ Set ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY | Clerk public key | ✅ Set ||
CLERK_SECRET_KEY | Clerk secret key | ✅ Set ||
NEXT_PUBLIC_CLERK_SIGN_IN_URL | /sign-in | ✅ Set ||
NEXT_PUBLIC_CLERK_SIGN_UP_URL | /sign-up | ✅ Set ||
ANTHROPIC_API_KEY | Claude API key (for AI features) | ⚠️ Needs to be set |Set Missing Env Vars
bash
netlify env:set ANTHROPIC_API_KEY "sk-ant-xxx"
Database
- Provider: Neon PostgreSQL
- Region: us-west-2
- Connection: Serverless (via @prisma/adapter-neon)
Run Migrations (if schema changes)
bash
npx prisma db push
Tech Stack
- Next.js 16.1.5 (Turbopack)
- Prisma 7.3 (with Neon adapter)
- Clerk Auth
- Tailwind CSS
Known Issues
1. ANTHROPIC_API_KEY not set - AI features won't work until this is configured in Netlify
2. Middleware deprecation warning - Next.js 16 deprecated
middleware.ts, needs migration to proxy.ts3. Multiple lockfiles warning - Can be ignored (doesn't affect build)
Logs & Monitoring
- Build Logs: https://app.netlify.com/projects/1000x-patent-app/deploys
- Function Logs: https://app.netlify.com/projects/1000x-patent-app/logs/functions
- Edge Function Logs: https://app.netlify.com/projects/1000x-patent-app/logs/edge-functions