From c5e7e7d7f675cc94fc976fbdb4a27e93d2d70d52 Mon Sep 17 00:00:00 2001 From: Rene Fichtmueller Date: Sat, 18 Apr 2026 02:37:42 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20POSTGRES=5FPASSWORD=20export=20?= =?UTF-8?q?from=20run-fs-scraper-mac.sh=20=E2=80=94=20sourced=20from=20~/.?= =?UTF-8?q?tip/.env=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run-fs-scraper-mac.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run-fs-scraper-mac.sh b/run-fs-scraper-mac.sh index e20c1bf..92bdd40 100755 --- a/run-fs-scraper-mac.sh +++ b/run-fs-scraper-mac.sh @@ -57,14 +57,15 @@ export POSTGRES_HOST=localhost export POSTGRES_PORT=$DB_LOCAL_PORT export POSTGRES_DB=transceiver_db export POSTGRES_USER=tip -# POSTGRES_PASSWORD must be set in your environment or ~/.tip/.env -export POSTGRES_PASSWORD="${POSTGRES_PASSWORD:-}" export NODE_ENV=production -# Load local credentials file if present (not committed to git) +# Load local credentials from ~/.tip/.env (not committed to git). +# Must contain: export POSTGRES_PASSWORD= if [ -f "$HOME/.tip/.env" ]; then # shellcheck disable=SC1091 source "$HOME/.tip/.env" +else + log "WARNING: ~/.tip/.env not found — POSTGRES_PASSWORD may be unset" fi log "Running fs-com scraper via tsx…"