mirror of
https://github.com/jorijn/meshcore-stats.git
synced 2026-07-06 09:41:28 +02:00
8ca5a1e6d0
Simplify setup by having Python automatically load configuration from meshcore.conf at module import time. This eliminates the need to source config files in cron jobs or use direnv. - Add _load_config_file() to env.py that parses shell-style config - Environment variables always take precedence (Docker-friendly) - Rename .envrc.example to meshcore.conf.example (no direnv dependency) - Update cron examples to use flock for USB serial locking - Simplify documentation to use traditional .venv/ virtualenv BREAKING CHANGE: Configuration file renamed from .envrc to meshcore.conf. Users must copy meshcore.conf.example to meshcore.conf and migrate their settings. The new file format is the same (shell-style exports) but without the direnv-specific "layout python3" command. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
42 lines
428 B
Plaintext
42 lines
428 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
.venv/
|
|
venv/
|
|
ENV/
|
|
env/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
|
|
# Environment
|
|
.envrc
|
|
.env
|
|
meshcore.conf
|
|
|
|
# Data directories (keep structure, ignore content)
|
|
data/snapshots/companion/**/*.json
|
|
data/snapshots/repeater/**/*.json
|
|
data/rrd/*.rrd
|
|
data/state/*
|
|
|
|
# Generated output (except .htaccess)
|
|
out/*
|
|
!out/.htaccess
|
|
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
.direnv |