mirror of
https://github.com/acedanger/shell.git
synced 2025-12-05 22:50:18 -08:00
33 lines
1.1 KiB
Bash
Executable File
33 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# Convenience script to run setup without Ollama installation
|
|
# This script sets SKIP_OLLAMA=true and runs the main setup script
|
|
|
|
set -e
|
|
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[0;33m'
|
|
NC='\033[0m' # No Color
|
|
|
|
echo -e "${GREEN}=== Shell Setup (Without Ollama) ===${NC}"
|
|
echo -e "${YELLOW}This will install all packages and configurations except Ollama Docker setup${NC}"
|
|
echo -e "${YELLOW}Fabric will be installed but configured for external AI providers${NC}"
|
|
|
|
# Get the directory of this script
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Set SKIP_OLLAMA environment variable and run setup
|
|
export SKIP_OLLAMA=true
|
|
|
|
echo -e "\n${YELLOW}Running setup with SKIP_OLLAMA=true...${NC}"
|
|
|
|
# Run the main setup script
|
|
"$SCRIPT_DIR/setup/setup.sh" "$@"
|
|
|
|
echo -e "\n${GREEN}=== Setup completed without Ollama ===${NC}"
|
|
echo -e "${YELLOW}To configure Fabric with your preferred AI provider:${NC}"
|
|
echo -e "${YELLOW}1. Edit ~/.config/fabric/.env${NC}"
|
|
echo -e "${YELLOW}2. Add your API keys (OpenAI, Anthropic, Google, etc.)${NC}"
|
|
echo -e "${YELLOW}3. Set DEFAULT_MODEL to your preferred model${NC}"
|
|
echo -e "${YELLOW}4. Test with: fabric --list-patterns${NC}"
|