The online Pi install required a four-variable command line typed on the device. setup_online.sh now reads DEVICE_ID / DEVICE_SECRET / CAFE24_URL / CAMERAS from deploy/device.env (written on the build machine) so the whole install is 'sudo deploy/setup_online.sh'. Real env vars still take precedence, so the documented long-form command overrides a stale device.env. device.env is gitignored -- it carries the device HMAC secret in plaintext.
35 lines
743 B
Text
35 lines
743 B
Text
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*.egg-info/
|
|
.venv/
|
|
venv/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
build/
|
|
dist/
|
|
|
|
# Edge runtime artifacts
|
|
*.db
|
|
*.hef
|
|
# Root-anchored on purpose. A bare `snapshots/` matches at EVERY depth, which swallowed
|
|
# cloud/storage/snapshots/ — and since git cannot re-include a file whose parent directory
|
|
# is excluded, it silently killed cloud/.gitignore's `!/storage/snapshots/.gitkeep`. The
|
|
# edge never writes a snapshots directory anyway: they stay in memory and are base64'd into
|
|
# the queue db or POSTed (edge/queue.py, edge/alert.py).
|
|
/snapshots/
|
|
queue.db
|
|
|
|
# Secrets / local config
|
|
.env
|
|
*.local
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Tool caches
|
|
.impeccable/
|
|
|
|
# Pi provisioning (real device secret) — never commit
|
|
deploy/device.env
|