Connecting
Learn/L15 · Your stack (VPS repos)

Cloudflare Workers deploy (your live URLs)

Static React build + wrangler deploy puts the app on agentifycrm.io and jessicamiralles.com.py.

Difficulty 2/5

Plain English

Backend is Convex; frontend is files in dist/ served by a Worker. Build must embed the right VITE_CONVEX_URL before wrangler deploy.

Analogy

Convex is the brain; Cloudflare Worker is the billboard that shows the UI.

Jessica's wedding portal

npm run deploy:prod — convex deploy + build + wrangler.

Agentify CRM

npm run deploy:production — build with prod Convex URLs then wrangler deploy.

Go deeper

Two deploy steps: convex/ functions, then frontend Worker.

Common mistakes

  • Deploying frontend without deploying convex/ first.
  • Stale VITE_ in build cache.

AI-agent trap

Saying 'deployed' after git push without checking workflow success.

Summary

CI may gate deploy — gh run watch after push.

Confidence: