docs: prod host is stan-ovh (comments still said stan-vm)
All checks were successful
Deploy production / deploy (push) Successful in 1m7s
All checks were successful
Deploy production / deploy (push) Successful in 1m7s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# House tracker
|
# 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
|
`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
|
(`deploy/systemd/house-scrape.{service,timer}`, 03:40 Amsterdam + up to 20 min jitter) and
|
||||||
|
|||||||
@@ -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
|
// 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.
|
// for new listings that match an alert rule. See docs/house-tracker.md.
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Writes scraped listings into house.listings with plain postgres.js, for the nightly
|
// 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 type postgres from 'postgres';
|
||||||
import { addressKey, addressKeyFromText, citySlug, DEDUPE_SQL } from './address';
|
import { addressKey, addressKeyFromText, citySlug, DEDUPE_SQL } from './address';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -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
|
// 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).
|
// 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', [
|
export const bookMetadataStatus = booksSchema.enum('metadata_status', [
|
||||||
'pending', // not looked up yet
|
'pending', // not looked up yet
|
||||||
|
|||||||
Reference in New Issue
Block a user