feat: Add EZ-Homelab TUI deployment script
- Move ez-homelab.py to scripts/ folder for better organization - Add working directory detection to ensure script works from any location - Update README-TUI.md with correct script paths - First commit of the new Python TUI for EZ-Homelab deployment
This commit is contained in:
@@ -45,18 +45,18 @@ A modern, user-friendly Terminal User Interface (TUI) replacement for the comple
|
||||
|
||||
#### Interactive Setup (Recommended)
|
||||
```bash
|
||||
python ez-homelab.py
|
||||
python scripts/ez-homelab.py
|
||||
```
|
||||
|
||||
#### Automated Deployment
|
||||
```bash
|
||||
# Complete your .env file first, then:
|
||||
python ez-homelab.py --yes
|
||||
python scripts/ez-homelab.py --yes
|
||||
```
|
||||
|
||||
#### Save Configuration Only
|
||||
```bash
|
||||
python ez-homelab.py --save-only
|
||||
python scripts/ez-homelab.py --save-only
|
||||
```
|
||||
|
||||
## Command Line Options
|
||||
@@ -193,7 +193,7 @@ After successful deployment:
|
||||
### Running Tests
|
||||
```bash
|
||||
# Basic syntax check
|
||||
python -m py_compile ez-homelab.py
|
||||
python -m py_compile scripts/ez-homelab.py
|
||||
|
||||
# YAML validation
|
||||
python -c "import yaml; yaml.safe_load(open('config-templates/traefik/dynamic/external-host-production.yml'))"
|
||||
|
||||
1507
scripts/ez-homelab.py
Normal file
1507
scripts/ez-homelab.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user