[object Object]

← back to Flockedwallpaper

flockedwallpaper: gitignore stale-file patterns + make dotenv path env-overridable

1e56daa42a8eb32487dbcac929fd082b78f78c09 · 2026-05-19 23:13:47 -0700 · Steve

- .gitignore: add *.zip, *-old-backup*, test-*.html (catches the 6 stale files at repo root)
- server.js:4 — dotenv path now reads process.env.DOTENV_PATH first, falls back to /root/DW-Agents/claudette-agent/.env (Kamatera default); unblocks local dev which can't read the Kamatera-absolute path

Files touched

Diff

commit 1e56daa42a8eb32487dbcac929fd082b78f78c09
Author: Steve <steve@designerwallcoverings.com>
Date:   Tue May 19 23:13:47 2026 -0700

    flockedwallpaper: gitignore stale-file patterns + make dotenv path env-overridable
    
    - .gitignore: add *.zip, *-old-backup*, test-*.html (catches the 6 stale files at repo root)
    - server.js:4 — dotenv path now reads process.env.DOTENV_PATH first, falls back to /root/DW-Agents/claudette-agent/.env (Kamatera default); unblocks local dev which can't read the Kamatera-absolute path
---
 .gitignore | 3 +++
 server.js  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index e7c3361..273a97c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,6 @@ build/
 *.bak
 *.bak.*
 *.pre-*
+*.zip
+*-old-backup*
+test-*.html
diff --git a/server.js b/server.js
index edf54f8..9b8affd 100644
--- a/server.js
+++ b/server.js
@@ -1,7 +1,7 @@
 const http = require('http');
 const fs = require('fs');
 const path = require('path');
-require('dotenv').config({ path: '/root/DW-Agents/claudette-agent/.env' });
+require('dotenv').config({ path: process.env.DOTENV_PATH || '/root/DW-Agents/claudette-agent/.env' });
 const { Pool } = require('pg');
 
 const PORT = process.env.PORT || 3200;

← 11ebb51 add corner-nav.js — universal top-right nav per _shared/corn  ·  back to Flockedwallpaper  ·  flockedwallpaper: untrack 6 stale files at repo root (21MB f 3e74f2c →