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

Deployment & Launch

Consultiz builds a static site into dist/ in all three editions, so it runs on any static host. It ships settings files for Netlify (netlify.toml), Vercel (vercel.json, vercel.sh), and Cloudflare Pages (wrangler.toml), and public/_headers and public/.htaccess, which serve the AI files correctly.

SettingValue
Build commandnpm run build
Output directorydist
Node.js version22.12.0 or later. 22.23.4 or later on version 22, or version 24, in the Tina edition
Package managernpm (package-lock.json)

Host Variables By Edition

The Astro edition needs none. SITE_URL is optional in every edition: it is an environment variable that overrides baseUrl for a build.

EditionSet on your host
TinaNothing to build the site. Only for online editing: PUBLIC_TINA_CLIENT_ID and TINA_TOKEN. See Tina
SanityPUBLIC_SANITY_PROJECT_ID and PUBLIC_SANITY_DATASET. A static host doesn’t need SANITY_API_READ_TOKEN, so don’t set it there. See Sanity

In the Sanity edition, your live site changes after its next build. After you publish in the Studio, rebuild the site. Online preview needs a separate Node.js server: see Sanity.

Before You Launch

PUBLIC-VALUES-NEEDED.md in the theme lists the values the demo can’t know: your domain, contact details, social and review profiles, and award claims. Go through it, then through this list. Each item links to the page that explains it. In the Tina and Sanity editions, change these values in the editor or the Studio: see the What Is Editable pages under Features.

  • [site] baseUrl is your real address, and npm run build shows no [site] warning (SEO & AI Visibility)
  • Site name, logos, favicon, social image, and colors are yours (Quick Start)
  • Every demo phone number, email, address, opening hours, and the office list are replaced, in every language (Common Changes)
  • The contact forms, the footer newsletter, and the newsletter section post to your own accounts, you have confirmed a test message arrives, and the “not connected yet” notes are updated (Forms)
  • Social links in src/config/social.json are yours and enabled; the demo links in footer-awards.md are replaced
  • Client logos, ratings, review counts, awards, statistics, and testimonials are real, or removed. Ratings use your real platform’s logo and link your profile there (Sections)
  • The Home and Who we are demo menus are trimmed to the pages you keep (Menus)
  • Demo pages you don’t need are deleted or set to draft: true, for example the one-page homepages, unused solution and industry layouts, and /components/ (Pages)
  • Demo content is replaced: solutions, people, careers, portfolio, case studies, industries, blog posts, and the webinar page. Only real, open positions are listed (Collections)
  • The privacy policy and terms are reviewed for your business
  • A native speaker has reviewed the Arabic, or you have removed it (Internationalization)
  • Analytics scripts are in [head], gated on consent if the cookie banner is on (Cookies & Analytics)
  • The copyright line in src/i18n/<lang>.json has your firm’s name
  • The file behind the Company Desk footer link (/company-desk.pdf) is yours
  • npm run astro-check and npm run build finish without errors, and you have looked at every page you changed

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. Add a block for each extra language. The language script doesn’t add one for you.

Using Netlify Forms? Set contactFormProvider = "netlify" and contactFormAction = "/", enable form detection under Forms, and redeploy.

After You Launch

  1. Open the live site and click through the main pages, on a phone and a desktop, in every language you keep.
  2. Send a test message through each contact form, and sign up for each newsletter once.
  3. Open https://your-domain/sitemap-index.xml and https://your-domain/robots.txt to check that they use your domain.
  4. Submit the sitemap in Google Search Console and Bing Webmaster Tools.
  5. Share a link in a chat app to check the preview image.

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. See Updating The Theme for new Consultiz versions.

Type something to search...