Repository navigation
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·61 lines (49 loc) · 1.6 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·61 lines (49 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# --- GEMMASTER INDUSTRIAL INSTALLER ---
# Optimized for MacOS and Linux
set -e
# Colors for "Immersive Core" terminal output
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
RED='\033[0;31m'
NC='\033[0m' # No Color
echo -e "${BLUE}💎 GEMMASTER - Reality Initialization Sequence${NC}"
echo "--------------------------------------------"
# 1. Check Python
if ! command -v python3 &> /dev/null; then
echo -e "${RED}❌ Error: Python 3 is required but not found.${NC}"
exit 1
fi
# 2. Check Ollama
if ! command -v ollama &> /dev/null; then
echo -e "${ORANGE}⚠️ Warning: Ollama not found in PATH.${NC}"
echo "Please install Ollama from https://ollama.com/"
exit 1
fi
# 3. Virtual Environment
if [ ! -d ".venv" ]; then
echo -e "${PURPLE}📦 Creating virtual environment...${NC}"
python3 -m venv .venv
fi
# Determine the activate script path
if [ -f ".venv/bin/activate" ]; then
source .venv/bin/activate
elif [ -f ".venv/Scripts/activate" ]; then
source .venv/Scripts/activate
fi
# 4. Dependencies
echo -e "${PURPLE}🛠️ Installing dependencies...${NC}"
pip install -q --upgrade pip
pip install -q -r requirements.txt
# 5. Pull Gemma 4 Model (Background check)
echo -e "${PURPLE}📥 Pulling Gemma 4 E4B Reality Model...${NC}"
echo "This might take a moment depending on your connection."
ollama pull gemma4:e4b
# 6. Final Launch
echo "--------------------------------------------"
echo -e "${GREEN}✅ Reality Anchor Synchronized!${NC}"
echo -e "🚀 Starting GemMaster...${NC}"
echo "--------------------------------------------"
python3 main.py