Move secrets and URLs out of source into .env
All checks were successful
lint / ruff (push) Successful in 45s
All checks were successful
lint / ruff (push) Successful in 45s
Adds a stdlib-only loader (src/lib/env.py) that walks up to find the nearest .env. display.py and notebooks/_helpers.py now `require()` the config values; wifi-check.sh sources .env to derive its probe host. The .env file is gitignored; .env.example documents the required keys. The existing tokens are still present in git history and will be scrubbed in the next commit; rotate them after the rewrite. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8609b4a884
commit
90b692da39
8 changed files with 69 additions and 19 deletions
2
sync.sh
2
sync.sh
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
rsync -avz --progress src/ andras@192.168.0.81:~/frame/
|
||||
rsync -avz --progress --exclude=.env src/ andras@192.168.0.81:~/frame/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue