Commit graph

23 commits

Author SHA1 Message Date
8a06384cc1 Clone repo before sourcing step files in all setup scripts
setup.sh, setup_onyx.sh, and setup_ollama.sh can all be run via
curl | bash without a local checkout. They now clone (or pull)
~/riotsecure first with inline minimal helpers, then source step
files from the cloned repo. The setup_repo step is removed from the
main flow since the clone already happens at the top.
2026-04-24 10:11:30 +02:00
3be9b5604d Install Rosetta 2 before opening Docker Desktop 2026-04-24 09:59:20 +02:00
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
4ba7722dd7 add presentation link 2026-04-21 11:45:17 +02:00
0a79997a97 update useful command 2026-04-20 09:47:32 +02:00
0e03af1b2d Add one-line cleanup command to README
Users can now uninstall with:
bash <(curl -fsSL https://raw.githubusercontent.com/cediackermann/riotsecure/main/cleanup.sh)

Matches the setup script's curl installation pattern.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:55:22 +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
74d71b35a9 Fix installation command to preserve interactive mode
Change from piping to process substitution:
- Old: curl ... | bash (breaks interactive prompts)
- New: bash <(curl ...) (preserves stdin for read commands)

This fixes the "not a tty" warning and allows the script
to properly pause for user input during installation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:48:48 +02:00
4a4e7d93fd Add one-line curl installation command to README
- Add curl command for easy remote installation
- Restructure Quick Start section with installation options
- Update check-status.sh path reference

Makes setup as simple as:
curl -fsSL https://raw.githubusercontent.com/cediackermann/riotsecure/main/setup.sh | bash

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-16 10:47:02 +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
a956c82107 add note in README.md 2026-04-15 15:02:05 +02:00
2dc9ef4d82 add setup script 2026-04-15 14:50:42 +02:00
9c1146ebb5 update README.md 2026-04-15 14:50:16 +02:00
4f6ce6649d add README.md 2026-04-15 14:39:54 +02:00
de6a5b6d6b update modelfile 2026-04-15 13:47:11 +02:00
5c310c3cba add bash file to update models 2026-04-15 11:36:09 +02:00
8af5c22c18 add riot-marketing and rename modelfiles 2026-04-15 11:32:00 +02:00
8cb8aca3de add riot-content modelfile 2026-04-15 11:26:39 +02:00
dab169a51e Add json content files 2026-04-15 11:20:49 +02:00
389c7abe96 add source fetch script
this script can fetch all sources in json format from the riot website
2026-04-15 11:14:06 +02:00