Startup config validation before the first run
Use this page at startup and after any production change. Run the checks in order, fix the named item first, and record present yes or no with no value in the row. No secret, password, token, key, or connection value is listed on this page.
Inventory by name only
Each entry states the kind, whether it is required or optional, the safe default already stated in this pack, and what happens if it is missing or wrong. Where this pack states no name or value, the entry states verify before deploy and adds no value.
DB binding: required
Kind: D1 database binding named DB. Safe default: no default. Bind the workspace database in Worker configuration. If missing: the app interface fails in plain words. That failure is loud, not silent.
FILES binding: required when file use is enabled
Kind: R2 bucket binding named FILES. Safe default: no default. Bind the workspace bucket. Optional only for a build with no file use. If missing: uploads and daily check photos fail.
Runtime env object: verify before deploy
Kind: Worker runtime object passed to the drafting, media, vault, and file helpers. Safe default: no contents stated in this pack. Confirm contents in locked core and Worker configuration. Add no guessed name.
Vault reference: read by reference only
Kind: saved sign in or key reference, server side only. Safe default: no vault id and no secret value in code, config, logs, or pages. If missing: the feature fails closed. Never fall back to a hard coded value.
Public routes: required for forms
Kind: site runtime routes. Safe default: keep the shipped routes. The marketing forms post to /api/public/request. The public booking form posts to /api/publicbook/public/request and reads the quote, status, update, reschedule, and cancel routes under that base. If a route is missing: the form shows a plain error and does not submit.
Hardcoded site values: keep as shipped
Kind: values in public/site.js. Safe values: form timeout 15000 milliseconds, retry count 3 on statuses 429, 408, 502, 503, and 504 with backoff 500, 1000, and 2000 milliseconds reusing the same reference, field limits name 120, company 120, email 254, phone 30, fleet size 50, service area 200, message 2000, subject 200, website 200, and 500 for any other field name, service worker at /sw.js with scope /, and theme colour #14213D. Do not relax a limit to clear a warning.
Workspace settings: required to confirm at setup
Kind: workspace settings, not environment values. Safe defaults: hourly 125, MCI flat 175, point to point minimum 150, events 140, gratuity 20 percent, lead 3 hours, minimum gap 45 minutes. Timezone has no seeded value and must be set once by place name and then used for pickup date, call time, and reports. A changed rate applies to new quotes only.
Seeded data and empty day one
Kind: seeded workspace data. Safe default: ten pickup points, four message templates, daily clean and inspect lists, and the 14 item livery schedule are seeded. No clients, chauffeurs, vehicles, bookings, messages, or invoices are seeded. Nothing appears on the day board or in reports until a real booking is confirmed and assigned.
Startup validation in order
Run each step in order. A failed step stops the next step until the named item is fixed. Do not guess a missing value to clear a step.
Confirm bindings by name only
Confirm DB and FILES are present by name in deployment config. Record present yes or no with no value in the row. If a name is missing, contact the deployment owner and state the missing name only.
Confirm workspace settings
Confirm company name, public name, phone, service area, and timezone are saved. Confirm Rates and scheduling settings shows the seeded defaults or the production values the company saved. Preview a quote for the service of the first booking.
Confirm readiness for dispatch
Confirm rates saved, at least one vehicle Ready by a passing daily check for the pickup date, at least one chauffeur linked to a sign in account, and one confirmed booking assigned.
Run health checks in depth order
Run liveness without sign in, then readiness and health while signed in as owner or manager. Confirm present yes or no by name only, with no dependency detail for a signed out request and no deeper probe for a role that cannot open the check.
Record and compare
Record the date, the workspace name, and present yes or no for each check, with no secret in the log detail. Keep the record with the setup checklist for that workspace, so the next change can be compared with it.
Fail fast operator messages
Use the message for the failed check as written. Each message names the missing item only and states the next step. No message adds a value.
- DB binding missing. Contact the deployment owner. Do not add a value in code.
- FILES binding missing. Contact the deployment owner. Uploads and daily check photos cannot run until the name is bound.
- Runtime env name not verified. Confirm the name in locked Worker configuration before deploy. Do not invent a name in app code.
- Vault reference missing. The feature fails closed. Add the reference in the vault and read it by reference only.
- Public form route missing. Confirm the route by name in locked configuration. The form shows a plain error and does not submit until the route is present.
- Timezone missing. Set timezone in company profile before the first booking. Pickup date, call time, and reports have no timezone until then.
- Rate missing or zero, gratuity outside 0 to 100 percent, lead hours at or below 0, or minimum gap at or above lead time in minutes. Correct the named setting and preview the quote again.
Example environment template
Copy the names into Worker configuration. Names only. No secret value belongs in this template, in code, in a page, or in a log.
# Example environment template for ChauffeurDesk # Names only. Confirm every name in locked Worker configuration before deploy. # Never put a secret, password, token, key, card number, or connection value here. DB= FILES= # Optional workspace settings are saved in the app, not as environment values: # company profile, timezone, rates, lead hours, minimum gap, pickup points, templates. # Hardcoded site values stay in public/site.js as shipped and are not environment values.
- DB and FILES are binding names from the kit description. Bind each name in Worker configuration with no value in this template.
- No environment variable names are stated in the site pack. Sign in, sessions, tenancy, vault, browser, and media live in locked core files that are not in this pack. Verify each name before deploy.
- Compatibility date, compatibility flags, and cron triggers are not stated in this pack. Verify each name in locked Worker configuration and confirm no cron trigger is present where this pack describes none.
Acceptance checks before you ship
Run each check after deploy, in a practice run where a step creates a record, and delete any practice record after verification.
- Home page and one guide load with the shared header, footer, and theme colour.
- Demo form submits through /api/public/request and shows the done message within the shipped timeout.
- Sign in shows the correct workspace name, Rates and scheduling settings shows the seeded defaults or the saved production values, and company timezone is saved once.
- Day board is empty until the first confirmed booking, and DB and FILES show present yes by name with no value in the row.
- Each failed startup step above shows its operator message and stops the next step, with no guessed value saved.
Validate by name, then run the first real day
Open the setup guide for the ordered steps, or request a demo walkthrough.