From 61057c3ca9e636af966ddf5858b24d37006d9793 Mon Sep 17 00:00:00 2001 From: William Lyon Date: Sat, 27 Jun 2026 12:44:17 -0600 Subject: [PATCH] update .env.example --- .env.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.env.example b/.env.example index c8380cc..f140788 100644 --- a/.env.example +++ b/.env.example @@ -40,6 +40,23 @@ NEXT_PUBLIC_MAP_TILES_URL=/basemap/us.pmtiles # self-hosted Protomaps `.pmtile # the CSP out of the box). Unset → maps stay flat (fly-throughs become flat, pitched 2D). A new DEM host must be added to # next.config.ts img-src + connect-src. Encoding/credit: NEXT_PUBLIC_MAP_TERRAIN_ENCODING (default `terrarium`) / _ATTRIBUTION. +# ─── Storage (Vercel Blob) — basemap pmtiles + trail geometry ─── +# BLOB_READ_WRITE_TOKEN= # Vercel Blob store token. REQUIRED on Vercel for the basemap upload AND trail +# # geometry (the local public/ fallback can't write to Vercel's read-only FS, so +# # without it :Park.trailsGeoUrl ends up a dead local path). Locally: +# # `vercel env pull .env.local`; unset locally → trails write to public/trails/. +# # See docs/DEPLOY-MAP-DATA.md. + +# ─── Trails (real hikeable trails, ADR-066–073) — sync flags ──── +# SYNC_TRAILS=1 # enable the trail steps in the slow sync (sync-trails → logistics → ALONG → +# # derive-trail-network[CONNECTS]). Or run standalone: `pnpm trails:sync`. +# SYNC_TRAIL_ELEVATION=1 # also derive elevation profiles + difficulty (needs ELEVATION_API_URL below). +# ELEVATION_API_URL= # opentopodata-compatible host (…/v1/) — server-side elevation sampler +# # (the DEM terrain-RGB sampler is scaffolded; this is the shipped path). +# EMBED_TRAILS=1 # embed trails for semantic vibe-search (trail_embedding; spends gateway tokens). +# ENRICH_OSM_TRAILS=1 # OSM-fill (Overpass) for NPS-empty parks only (ODbL attribution). +# TRAIL_SIMPLIFY_TOLERANCE=0.00008 # Douglas–Peucker tolerance for the simplified Blob geometry (default shown). + # ─── Models / embeddings (via Vercel AI Gateway + OIDC) ───────── # No provider keys in code on Vercel. For local dev set a gateway key if needed. AI_GATEWAY_API_KEY=