Skip to content
New: Customize your theme with an AI assistant. Read the guide

Deployment & Launch

Lotline builds a static site into dist/, so it runs on any static host. It ships ready-made settings for Netlify (netlify.toml), Vercel (vercel.json, vercel.sh), and Cloudflare Pages (wrangler.toml). The site needs no account and no environment variables.

SettingValue
Build commandnpm run build
Output directorydist
Node.js version22.12 or later
Package managernpm (package-lock.json)

Before You Launch

Go through this list once. Each item links to the page that explains it.

Address and identity

  • [site] baseUrl is your real address, not the shipped https://example.com placeholder, and npm run build shows no [site] warning (SEO & AI Visibility)
  • title and logoText in [site], author in [seo], and seo.tagline, seo.siteDescription, seo.keywords, and ai.siteSummary in each src/i18n/<lang>.json describe your agency. The tagline is added to every page title (Config Reference)
  • The logo, favicons (npm run generate-favicons), social image (npm run generate-og-image, after the two items above), colors in theme.css, and fonts in fonts.json are yours (Site Identity & Logo, Colors & Fonts)

Agency details

  • [business] in config.toml has your name, phone, email, address (or show = false if you have no public office), and opening hours, and the build prints no [business] warning (Agency Details)
  • The offices on the contact page (src/content/contact/<language>/-index.md) are yours, including the sample [email protected] address

Listings

  • currency, areaUnit, maxPricesSale, and maxPricesRent in [listings] fit your market, and [settings.currency] code uses the same currency (Listing Search & Filters)
  • The sample homes, developments, agents, and neighborhoods are replaced with your own, and every listing’s agent and neighborhood point at files that exist (Properties, Agents, Neighborhoods, New Developments)
  • The featured listing card in the Properties mega menu shows a home you really have, with its current price (Menus)

Forms

  • contactFormAction and contactFormProvider post to your own account (Formsubmit, Formspree, or Netlify Forms), and the build prints no [forms] warning. Viewing, inquiry, valuation, contact, and job forms all use them (Forms)
  • The Mailchimp formAction under [settings.subscription] is your list, or enable = false there if you don’t send a newsletter
  • The careers apply address (mailto:[email protected] in src/content/careers/<language>/-index.md) is yours, or the sample roles are removed

Sample content

  • Sample facts are replaced: reviews and ratings, services and their fees, stats, jobs, blog posts, and client logos. They are marked # sample in the content files (Collections, Services & Valuation)
  • The review links in src/content/sections/<language>/rating.md point to your real review profiles, not https://example.com/review
  • Every demo photo is replaced with your own photos of your listings, agents, and offices. The demo photos are placeholders and are not part of the theme (Icons & Images)
  • A project-wide search for example.com and 555 finds nothing you still need to change

Pages and menus

  • The privacy policy, terms, and cookie policy in every language folder of src/content/pages/ are rewritten for your agency and reviewed. They ship as sample text with a notice at the top
  • The demo homepages you don’t use are deleted with their menu links (Homepages), and /elements/ and /components/ are removed if you don’t want the sample galleries online (Pages)
  • [settings.layoutSwitcher] enable = false
  • footer.description and footer.copyright in src/i18n/<language>.json describe your agency, and the links in src/config/social.json are yours

Analytics and checks

  • Analytics tags are in [head], marked with data-consent while the cookie banner is on (Cookies & Analytics)
  • npm run astro-check and npm run build finish without errors, and you have looked at every page whose section files you changed (astro-check doesn’t check section files or the contact page file)
  • The French and Arabic text has been reviewed by a native speaker, if you keep those languages. It ships as a machine translation
  • You checked the site at phone width and in every language you keep

Deploy

  1. Push your project to GitHub, GitLab, or Bitbucket.
  2. In Netlify, choose Add new site → Import an existing project and pick the repository.
  3. Netlify reads netlify.toml: build command npm run build, publish folder dist, Node.js 22. Click Deploy.

The build uses baseUrl from config.toml unless you add a SITE_URL environment variable in the Netlify site settings.

netlify.toml also sets long-term caching for /_astro/* and /images/*, and sends missing /fr/... and /ar/... URLs to that language’s 404 page. When you add a language, copy the /fr/* block for it by hand. The language script doesn’t write it.

Using Netlify Forms? Set contactFormProvider = "netlify" and contactFormAction = "/", turn on form detection under Forms in the Netlify dashboard, and redeploy.

After You Launch

  1. Open the live site and click through the main pages, on a computer and on a phone, including the mobile menu and the Properties mega menu.
  2. Send a test message through the contact form, a viewing request from a property page, and a request from /valuation/, and check that all three arrive.
  3. Try the filters on /properties/, then copy the page address and open it in a new tab. The same filters should be set.
  4. Open an agent page and a neighborhood page and check that they list the right homes.
  5. Submit https://your-domain/sitemap-index.xml in Google Search Console and Bing Webmaster Tools.
  6. Check the homepage and a property page with Google’s Rich Results Test.
  7. Share a property link in a chat app to check the preview image.

Tell Search Engines About Changes With IndexNow

IndexNow tells Bing, Yandex, Seznam, and Naver which pages changed, so they visit them sooner. Bing also feeds ChatGPT search and Copilot. That helps when a new listing goes up or a home comes off the market. It is off until you set a key:

  1. In config.toml, set indexNowKey under [seo.ai] to a key of 8 to 128 letters, numbers, or dashes that you make up:

    [seo.ai]
    indexNowKey = "a1b2c3d4-your-own-key"
  2. Build and deploy. The build publishes the key file at https://your-domain/<key>.txt, which the search engines check.

  3. After each deploy is live, run from your computer:

    Terminal window
    npm run build
    npm run indexnow # pages changed in the last 7 days
    npm run indexnow -- --all # every page: use it after your first launch

    npm run indexnow -- --dry-run lists the pages without sending them.

Updating The Live Site

With a git-connected host, every push to your main branch deploys automatically. Build locally first (npm run build) to catch errors before they reach your visitors.

Type something to search...