deloc

How to Deploy a Lovable App

· Deloc

You built an app on Lovable. It runs in the Lovable preview. You want it on your own URL, with your own access controls, that doesn’t go away if you stop using Lovable.

Here is how to deploy a Lovable app to a real URL in under a minute.

Deploy from your terminal

Lovable apps are standard React + Vite projects. Export your project from Lovable using the Download button (or push to GitHub and clone it locally), then unzip the folder.

In the project folder, run:

npm install
npx @deloc/cli deploy

Deloc detects the Vite build, runs it, uploads the output to a CDN, and prints a live URL. The link is on your clipboard.

Also works with Claude Code: open the folder in Claude Code and say “deploy this to Deloc.” Full walkthrough in the Claude Code guide.

What just happened

Deloc figured out the framework, ran npm run build, pushed the dist/ output to a CDN, and gave you a URL. About 30 seconds end to end after the first install.

The link works on any device. No Git push, no CI/CD pipeline, no server.

You own the URL. If your Lovable preview ever goes away, your deployed copy keeps running.

Three things you probably want next

Password protect it. Run npx @deloc/cli password your-app-name and set a password at the prompt. Share the URL in Slack, the password in 1Password.

Keep data fresh. If your Lovable app pulls from a backend, Supabase, or any API, wire up auto-refresh so it updates without a redeploy. See Build an Auto-Refreshing Dashboard with React, BigQuery, and Deloc.

Push updates. Make changes in Lovable, re-export, run the deploy again. Same URL, new content.

Get off localhost

Free tier covers three live apps with no credit card. See pricing.

Start deploying at deloc.dev.

Also read

← Back to blog