Commit graph

8 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
0a79997a97 update useful command 2026-04-20 09:47:32 +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
802d4aa904 Fix onyx_data directory path to riotsecure repo
- Update all references from ~/onyx_data to ~/riotsecure/onyx_data
- Restructure setup.sh to clone repository before Onyx installation
- Ensure Onyx installer runs from within riotsecure directory
- Update step numbers in setup.sh (now steps 1-8)
- Fix paths in check-status.sh and README.md

This ensures onyx_data is created in the correct location
where the install script is run (~/riotsecure).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:30:58 +02:00
eea1d5d729 Add health check script and pre-flight checks
- Add check-status.sh to verify system health and service status
  - Checks Docker, Ollama, Onyx containers
  - Validates models and web interface
  - Shows resource usage and system info
  - Provides troubleshooting tips
- Add comprehensive pre-flight checks to setup.sh
  - Validates macOS version, disk space, memory
  - Checks internet connectivity and port availability
  - Shows installation time estimate and component list
  - Prevents installation if critical requirements not met
- Update README.md with health check script usage

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:23:14 +02:00
e1bcfb2b6e add local IP address output in script 2026-04-16 10:11:27 +02:00
aea30264d4 fixed docker setup 2026-04-15 15:23:47 +02:00
2dc9ef4d82 add setup script 2026-04-15 14:50:42 +02:00