Commit graph

2 commits

Author SHA1 Message Date
ef27add5d3 Refactor setup into modular steps; add split-device support
- Extract shared helpers into steps/common.sh (colors, print_*, wait_for_user, ask_confirmation)
- Split each install step into its own sourced script under steps/
- setup.sh now sources step files instead of duplicating logic
- Add setup_ollama.sh: Ollama-only device setup (no Docker)
- Add setup_onyx.sh: Onyx-only device setup with auto-detection of Ollama host via network scan
- setup_ollama.sh prints ready-to-run setup_onyx.sh command with detected IP at completion
- Docker memory recommendation is MAX when machine has <20 GB RAM, 20 GB otherwise
- cleanup.sh and check-status.sh source steps/common.sh with inline curl fallback
- check-status.sh detects device mode (single/ollama/onyx) and skips irrelevant checks
- cleanup.sh reinstall message lists all three setup one-liners
- README updated with split-device one-liner commands
2026-04-24 09:53:33 +02:00
171805bb62 Add cleanup script and fix Ollama service startup
- Add cleanup.sh for complete uninstallation
  - Interactive confirmations for each component
  - Safely removes Onyx, Ollama models, Docker, repository
  - Option to restore power settings
  - Warnings for shared components (Docker, Homebrew)
- Fix Ollama installation to start service after install
  - Ensures ollama serve is running before model creation
  - Prevents "Unable to find application" error on clean Mac
- Update README.md with cleanup script usage

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:54:58 +02:00