File size: 2,265 Bytes
fb94471 | 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 | #!/bin/bash
# ==============================================================================
# PEACEBIT CREATIVE STUDIO // FORM RUNTIME 10^500 + 1 INITIALIZATION
# ==============================================================================
set -e
# Visual formatting parameters
BLUE='\033[0;34m'
CRIMSON='\033[0;31m'
NC='\033[0m' # No Color
echo -e "${BLUE}==============================================================================${NC}"
echo -e "${CRIMSON} INITIALIZING SOVEREIGN RUNTIME ENVIRONMENT // FORM 2.0${NC}"
echo -e "${BLUE}==============================================================================${NC}"
# 1. System Architecture Verification
echo -e "\n[1/4] Verifying local processing environment..."
if ! command -v python3 &> /dev/null; then
echo -e "${CRIMSON}[ERROR] Python3 is required to run the local state machine.${NC}"
echo "Please install Python 3.8+ and restart the sequence."
exit 1
fi
if ! command -v pip3 &> /dev/null; then
echo -e "${CRIMSON}[ERROR] pip3 is required to pull the python interface libraries.${NC}"
exit 1
fi
echo -e " Python environment verified."
# 2. Local-First Processing Engine Verification (Ollama)
echo -e "\n[2/4] Verifying local-first inference engine (Ollama)..."
if ! command -v ollama &> /dev/null; then
echo -e "${CRIMSON}[NOTICE] Ollama engine not detected in system path.${NC}"
echo "Downloading and executing native installation sequence..."
curl -fsSL https://ollama.com | sh
else
echo -e " Ollama engine detected."
fi
# 3. Local Model Layer Realization
echo -e "\n[3/4] Pulling computational layer (llama3.2)..."
echo " Collapsing high-dimensional weights onto your local machine..."
ollama pull llama3.2
# 4. Interface Module Installation
echo -e "\n[4/4] Constructing Python interface bridges..."
pip3 install --quiet ollama pandas polars
echo -e "${BLUE}==============================================================================${NC}"
echo -e "${CRIMSON}[SUCCESS] SOVEREIGN CORE ONLINE${NC}"
echo -e "${BLUE}==============================================================================${NC}"
echo "To initialize the active cycle protocol on the single timeline, execute:"
echo -e "\n ${BLUE}python3 runtime.py${NC}\n"
|