How to Deploy a Vibe-Coded App
Your app works on your computer but is not online yet. Let an AI assistant set up the deploy once, then publish with a click from the Deploy button.
Short answer: open Deploy, pick where your app should live, and run Quick Setup. An AI assistant inspects your project and writes the deploy steps; after that you deploy with one click.
The problem#
The app runs on localhost, but nobody else can open it. Hosting guides assume you already know build commands, environment variables and servers.
Why it happens#
Going online needs three things your computer was doing for you: a place to run the app, a build step, and the settings and secrets the app reads.
What you need#
- A project that runs on your computer.
- An account or server where it will live, for example Vercel, Netlify, Cloudflare, or your own VPS. The hosting provider's costs are separate from LightCode.
- Deploy is included in the Free plan.
Steps#
- Click Deploy in the top toolbar.
- Add a stage, for example Production. A separate Staging stage lets you try changes first.
- Pick the target and enter the domain, token or server details it asks for. Secrets are stored encrypted on your computer and are not committed to Git.
- Click Quick Setup. An AI assistant inspects the project, writes a reusable deploy script and checks that the setup works.
- Run the deploy and follow the live log.
- Open the published address and test the main actions yourself.
If the deploy fails#
LightCode opens a Repair deploy session with the error log already loaded, so an agent can find the cause and fix the script.
Good to know#
- Do not paste secrets into a chat message; enter them in the Deploy settings.
- Before the first public release, check that sign-in, payments and any admin pages cannot be used by strangers.
- A successful deploy means the files are online, not that the app is bug-free.