Minimal setup to run the site locally.
mise install
mise run install
cp .env.example .env.localAdd the values you need in .env.local.
DARWIN_RDM_PROXY_URLandDARWIN_RDM_CONSUMER_KEYenable live National Rail departures.DARWIN_RDM_AUTH_TYPE=api-keyis the default Rail Data Marketplace proxy mode.NEXT_PUBLIC_POLL_INTERVAL_MScontrols board refresh cadence in milliseconds and defaults to60000.HARD_CODED_ALERTStoggles a hardcoded alert banner message at the top of the app when set totrue.MAPTILER_API_KEYenables the UK map background.REDIS_URLenables public API rate limiting through Vercel Redis.RATE_LIMIT_SEARCHES_PER_MINUTEcontrols search requests per IP and defaults to30.RATE_LIMIT_JOURNEYS_PER_MINUTEcontrols live journey refreshes per IP and defaults to10.
The site still starts without Darwin credentials. National Rail cards stay unconfigured until Darwin is set. Production API routes require Redis credentials for rate limiting.
mise run devOpen http://localhost:3000.
mise run build
mise run start