From b23f7b34757d5154a84ad9444fc9b68892abe6b0 Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Sun, 25 Oct 2026 17:01:50 +0000 Subject: [PATCH] docs: prod host is stan-ovh (comments still said stan-vm) --- docs/house-tracker.md | 2 +- scripts/house-scrape.ts | 2 +- src/lib/house-tracker/ingest.ts | 2 +- src/lib/server/db/schema/books.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/house-tracker.md b/docs/house-tracker.md index f00ec36..9020dbd 100644 --- a/docs/house-tracker.md +++ b/docs/house-tracker.md @@ -1,6 +1,6 @@ # House tracker -## Nightly scrape on stan-vm (2026-10) +## Nightly scrape on stan-ovh (prod; was stan-vm until 2026-10-24) `scripts/house-scrape.ts` runs once a night from a systemd user timer (`deploy/systemd/house-scrape.{service,timer}`, 03:40 Amsterdam + up to 20 min jitter) and diff --git a/scripts/house-scrape.ts b/scripts/house-scrape.ts index 9aa94ea..828c652 100644 --- a/scripts/house-scrape.ts +++ b/scripts/house-scrape.ts @@ -1,4 +1,4 @@ -// Nightly house scraper, run on stan-vm by a systemd user timer (deploy/systemd/house-scrape.*). +// Nightly house scraper, run on stan-ovh (prod) by a systemd user timer (deploy/systemd/house-scrape.*). // Fetches the sources that allow it, writes house.listings directly and pushes an ntfy alert // for new listings that match an alert rule. See docs/house-tracker.md. // diff --git a/src/lib/house-tracker/ingest.ts b/src/lib/house-tracker/ingest.ts index 8ce2487..eebc605 100644 --- a/src/lib/house-tracker/ingest.ts +++ b/src/lib/house-tracker/ingest.ts @@ -1,5 +1,5 @@ // Writes scraped listings into house.listings with plain postgres.js, for the nightly -// scraper on stan-vm (scripts/house-scrape.ts). No #lib / $app imports. +// scraper on stan-ovh (prod) (scripts/house-scrape.ts). No #lib / $app imports. import type postgres from 'postgres'; import { addressKey, addressKeyFromText, citySlug, DEDUPE_SQL } from './address'; import { diff --git a/src/lib/server/db/schema/books.ts b/src/lib/server/db/schema/books.ts index e097840..e7c9231 100644 --- a/src/lib/server/db/schema/books.ts +++ b/src/lib/server/db/schema/books.ts @@ -16,7 +16,7 @@ import { id, timestamps, timestamptz } from './helpers'; // Book tracker + reader. A work is one book (any edition we care about); a work can // exist without files (placeholder for a book Stan wants but doesn't have yet). -// Files live on stan-vm under $BOOKS_ROOT/library (target /srv/books/library); covers under $BOOKS_ROOT/covers. +// Files live on stan-ovh (prod) under $BOOKS_ROOT/library (target /srv/books/library); covers under $BOOKS_ROOT/covers. export const bookMetadataStatus = booksSchema.enum('metadata_status', [ 'pending', // not looked up yet