Lovable ownership guide

Export your Lovable app from preview to a VPS you own

Lovable preview is a demo. Real ownership means your code on your server, your domain, your database, and your backups. This is the path from preview to production.

What is probably broken

The app works in Lovable but you do not control the server, the domain, the database, or the deploy process. You want ownership.

What production should look like

The same app running on your VPS, with HTTPS on your domain, a database you control, backups, and a deploy path you own.

STEP 01

Get the code out of Lovable

Export or sync the project so you have a real GitHub repo you control.

  • Connect the Lovable project to your GitHub account.
  • Verify the repo has all files, including config and build scripts.
  • Clone locally and confirm the app builds with `npm run build`.

STEP 02

Set up the VPS

A fresh VPS needs a deploy layer, domain routing, and SSL before the app lands.

  • Install a deploy panel (Dokploy) or set up Docker Compose.
  • Point your domain DNS to the VPS IP.
  • Configure HTTPS routing before deploying the app.

STEP 03

Migrate data and hand over

Move the database, wire env vars, and confirm everything works before switching traffic.

  • Export Supabase data if you are self-hosting, or keep managed Supabase and update env vars.
  • Deploy the app on the VPS and run a full smoke test.
  • Hand over server credentials, domain config, and a runbook.

Quick check

Is your app production-ready?

If you cannot tick all five, we can fix it. Send us the repo and we handle the rest.

  • ?Custom domain with HTTPS
  • ?Environment variables configured
  • ?Database wired and backed up
  • ?Auto-deploy on push
  • ?Smoke tested and live

Free checklist

Deploying this yourself?

Get the exact 5-step checklist we run before every deploy. No fluff, just the things that actually break.

No spam. Your email is only used to send the checklist.

Done-for-you deploy

RepoAssistant handles the full Lovable-to-VPS migration so you own the server, domain, and database.

Fixed price per repo. 24h delivery or full refund. No hourly billing.

Deploy my app

Related guides