Deploy a Lovable app to production
Lovable lets you describe an app and it builds the React + Supabase stack. When you outgrow the in-Lovable preview — or want to add custom backend code, cron jobs, or a different database — Launchmatic deploys the exported repo to your own infrastructure.
Why Launchmatic for Lovable
Launchmatic supports Lovable's Vite + React output and the Supabase-style Postgres pattern. Spin up a Postgres next to your app in a single click and point Lovable's data layer at it.
Deploy in 5 steps
- 1In Lovable, click **GitHub → Connect** and let it create a repo.
- 2Clone locally, then install + log in:
git clone … && cd …; npm i -g @launchmatic/cli && lm login. - 3Bind the repo:
lm initand accept the detected build/start commands (npm run build/npm run preview). - 4Deploy:
lm deploy. Add a Postgres if needed (lm db create app-db --service <serviceId>injectsDATABASE_URL) or wire your existing one. - 5Add a custom domain in the dashboard — we'll handle SSL automatically.
Quick deploy after Lovable pushes a repo to GitHub:
git clone https://github.com/me/my-lovable-app && cd my-lovable-app
lm init
lm db create app-db --service <serviceId> # id printed by lm init
lm deployFAQ
Do I need to keep Supabase or can I switch to Launchmatic Postgres?+
Either works. Launchmatic provisions a managed Postgres and exposes a `DATABASE_URL`; if you'd rather keep Supabase for auth, just leave its env vars in place and use Launchmatic for hosting.
Ready to deploy?
Free to start. No credit card. Auto-SSL on custom domains, managed Postgres, and per-branch preview deploys included.
This guide is part of our complete vibe coding hosting guide — how to take any AI-built app to production.