StoicBuilder

HandbookV the OfficinaRunning the app locally

Vthe Officina, Use the tools

Running the app locally

1 min readUpdated 28 November

In plain words

Running locally means starting your app on your own computer, at an address like localhost:3000, so you can change and test it without touching the live site.

Where you see it

You connect your Lovable or Bolt project to GitHub, clone it, run npm install and npm run dev, and the terminal prints a local address to open. Next.js apps use localhost:3000 by default, Vite apps localhost:5173.

Terminalterminal
$ git clone https://github.com/maya/quill.git$ cd quill$ npm install$ cp .env.example .env.local # then fill in the values$ npm run dev Local: http://localhost:5173/
From a GitHub repo to a running app in five commands. Ctrl+C stops it.

What goes wrong

  1. Pointing local at the production database

    If .env.local holds the live Supabase keys, every test note you make lands in your real database. Use a separate dev project, or Supabase's local setup with supabase start.

  2. Missing variables after cloning

    The .env file stays out of Git on purpose, so a fresh clone fails with undefined keys. Copy .env.example and fill it in, or ask the agent which values you need.

  3. An old server still holding the port

    Yesterday's dev server is still running, so the new one refuses to start or quietly moves to another port. Stop the old one with Ctrl+C, and read which address the new one printed.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Add a short Running locally section to the README: the Node version, every command from a fresh clone to a running app, which environment variables to set and where to get them, and how to make sure local never writes to the production database.

Quick check

Sign in to earn +10 XP for it

You test deleting notes on your local copy of Quill, and real users start reporting missing notes. What went wrong?

Got a prompt that touches running the app locally?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.