OrdioDocumentation
Version 1.0.0
Installation guide →
Start here

Configuration

Ordio keeps local and live website settings in separate files.

Create the private files

From the source folder, copy:

text
.env.development.example to .env.development
.env.production.example to .env.production
functions/.env.example to functions/.env
.firebaserc.example to .firebaserc

On Windows File Explorer, enable View > Show > File name extensions before renaming. Confirm the files are not accidentally named .env.development.txt.

These private files are ignored by Git. Do not remove the leading dot from their names.

Website values

NameWhat to enter
VITE_APP_URLhttp://localhost:5173 for development; the current HTTPS host address for production. A temporary Netlify or other host address is valid
VITE_INSTALLATION_BUSINESS_IDKeep default
VITE_FIREBASE_API_KEYFirebase Web App apiKey
VITE_FIREBASE_AUTH_DOMAINFirebase Web App authDomain
VITE_FIREBASE_PROJECT_IDFirebase Web App projectId
VITE_FIREBASE_STORAGE_BUCKETFirebase Web App storageBucket
VITE_FIREBASE_MESSAGING_SENDER_IDFirebase Web App messagingSenderId
VITE_FIREBASE_APP_IDFirebase Web App appId
VITE_FIREBASE_FUNCTIONS_REGIONKeep europe-west1 unless you intentionally changed the backend region
VITE_GOOGLE_PLACES_API_KEYOptional; leave empty for manual address entry

Do not add quotation marks unless the value itself requires them. Do not add spaces before or after =.

Start with a temporary address

You do not need to own or connect a domain before launching a test store. For example, Netlify may first give you https://your-store.netlify.app. Use that complete address in both places:

text
.env.production: VITE_APP_URL=https://your-store.netlify.app
functions/.env: STOREFRONT_BASE_URL=https://your-store.netlify.app

Complete the deployment and launch test on this address. When a custom domain is ready, replace both values with the new HTTPS address, add the new hostname to Firebase Authentication Authorized domains, and rerun the same deployment command used for the first launch. Include the same --providers=... list so enabled payment or messaging Functions receive the new URL.

When the website address changes, update both values and deploy again so payment and notification links use the new address.

Backend values

In functions/.env, set FUNCTIONS_REGION to the same value used for VITE_FIREBASE_FUNCTIONS_REGION. Set STOREFRONT_BASE_URL to the current production address. Payment returns and notification links use this value.

The template names for WhatsApp may remain at their defaults until WhatsApp is enabled. Payment and messaging secrets are not placed in this file. Store them with Firebase Functions secrets when deploying an optional provider.

Check both files

Run:

text
npm run config:validate -- .env.development
npm run config:validate -- .env.production

Expected output begins with:

text
Required Firebase and application settings are present.

Google Places and support contact messages may say optional and unset. That is not an error.

If validation lists a missing key, return to the Firebase Web App configuration and copy that exact value. Do not continue until both environment files pass.

Ordio documentation - Updated 9 August 2026Your hosting. Your data.