persistent config file via config.template.json and migrate_config.sh

This commit is contained in:
Chuck
2025-09-15 10:27:16 -04:00
parent 4b36937a55
commit fcbc67464d
73 changed files with 429 additions and 1330 deletions

View File

@@ -206,13 +206,13 @@ This single script handles everything you need for a new installation.
### **Dependency Installation Scripts**
#### `install_dependencies_apt.py`
#### `scripts/install_dependencies_apt.py`
- **When to use**: When you want to install packages via apt first, then pip
- **What it does**:
- Tries to install packages via apt (system packages)
- Falls back to pip with `--break-system-packages`
- Handles externally managed Python environments
- **Usage**: `sudo python3 install_dependencies_apt.py`
- **Usage**: `sudo python3 scripts/install_dependencies_apt.py`
#### `start_web_v2.py`
- **When to use**: Manual web interface startup
@@ -252,7 +252,7 @@ sudo ./first_time_install.sh
### **Scenario 2: Adding Web Interface to Existing Installation**
```bash
# Install web interface dependencies
sudo python3 install_dependencies_apt.py
sudo python3 scripts/install_dependencies_apt.py
# Fix permissions
./fix_web_permissions.sh
@@ -332,7 +332,7 @@ http://your-pi-ip:5001
2. Log out and back in
### **Dependency Installation Errors**
1. Run: `sudo python3 install_dependencies_apt.py`
1. Run: `sudo python3 scripts/install_dependencies_apt.py`
## Summary

View File

@@ -50,17 +50,17 @@ Other: https://www.coveringthecorner.com/rss/current.xml
### Command Line Management
Use the `enable_news_manager.py` script to manage the news manager:
Use the `scripts/enable_news_manager.py` script to manage the news manager:
```bash
# Check current status
python3 enable_news_manager.py status
python3 scripts/enable_news_manager.py status
# Enable news manager
python3 enable_news_manager.py enable
python3 scripts/enable_news_manager.py enable
# Disable news manager
python3 enable_news_manager.py disable
python3 scripts/enable_news_manager.py disable
```
### Web Interface