Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/observatory/llms.txt

Use this file to discover all available pages before exploring further.

Observatory is a Vite-bundled static single-page application. Running npm run build produces a dist/ folder containing plain HTML, CSS, and JavaScript files — no server required. The entire output can be served from any CDN or static hosting provider that can deliver files over HTTP.

Build commands

npm run build
After npm run build succeeds, the dist/ directory contains:
  • index.html — the SPA entry point
  • assets/main.js — the bundled application code
  • assets/main.css — all compiled Tailwind CSS
  • Preloaded component chunks for each Aurora component
npm run preview spins up a local server pointing at dist/ so you can verify the production build before deploying.

Hosting platforms

Vercel is the easiest option — it detects Vite automatically and handles SPA routing without any extra configuration.Option A — Vercel CLI:
npx vercel --prod
Option B — GitHub integration: Connect your repository in the Vercel dashboard and use these settings:
SettingValue
Framework presetVite
Build commandnpm run build
Output directorydist
Install commandnpm install
Vercel automatically rewrites all routes to index.html, so React Router’s client-side routing works for direct links to /projects, /about, and all other routes without any extra configuration.

SPA routing

Observatory uses React Router for client-side routing. When a user navigates directly to /projects, /about, /work, or any other sub-route — or refreshes the page while on one — the static host receives a request for a path that has no corresponding file on disk. Without a 404 → index.html fallback, the host returns a real 404 error instead of loading the React app.Configure the appropriate fallback for your host (see the platform tabs above) before going live.

Custom domain

Set your custom domain in your hosting provider’s dashboard using their standard domain settings. Once DNS propagates, Observatory will be served at your domain with no code changes needed. If you include absolute URLs anywhere in your contact data — for example, a personal site link in RadioDial.js — update those values in the source file and rebuild after pointing your custom domain.

Environment variables

Observatory has no environment variables. All content — project data, skills, work history, contact channels, and personal information — is bundled directly into the JavaScript output at build time. There is no runtime configuration, no .env file, and no secrets to manage.

Build docs developers (and LLMs) love