Created local install file
Browse files- install.sh +55 -0
install.sh
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# ==============================================================================
|
| 4 |
+
# PEACEBIT CREATIVE STUDIO // FORM RUNTIME 10^500 + 1 INITIALIZATION
|
| 5 |
+
# ==============================================================================
|
| 6 |
+
|
| 7 |
+
set -e
|
| 8 |
+
|
| 9 |
+
# Visual formatting parameters
|
| 10 |
+
BLUE='\033[0;34m'
|
| 11 |
+
CRIMSON='\033[0;31m'
|
| 12 |
+
NC='\033[0m' # No Color
|
| 13 |
+
|
| 14 |
+
echo -e "${BLUE}==============================================================================${NC}"
|
| 15 |
+
echo -e "${CRIMSON} INITIALIZING SOVEREIGN RUNTIME ENVIRONMENT // FORM 2.0${NC}"
|
| 16 |
+
echo -e "${BLUE}==============================================================================${NC}"
|
| 17 |
+
|
| 18 |
+
# 1. System Architecture Verification
|
| 19 |
+
echo -e "\n[1/4] Verifying local processing environment..."
|
| 20 |
+
if ! command -v python3 &> /dev/null; then
|
| 21 |
+
echo -e "${CRIMSON}[ERROR] Python3 is required to run the local state machine.${NC}"
|
| 22 |
+
echo "Please install Python 3.8+ and restart the sequence."
|
| 23 |
+
exit 1
|
| 24 |
+
fi
|
| 25 |
+
|
| 26 |
+
if ! command -v pip3 &> /dev/null; then
|
| 27 |
+
echo -e "${CRIMSON}[ERROR] pip3 is required to pull the python interface libraries.${NC}"
|
| 28 |
+
exit 1
|
| 29 |
+
fi
|
| 30 |
+
echo -e " Python environment verified."
|
| 31 |
+
|
| 32 |
+
# 2. Local-First Processing Engine Verification (Ollama)
|
| 33 |
+
echo -e "\n[2/4] Verifying local-first inference engine (Ollama)..."
|
| 34 |
+
if ! command -v ollama &> /dev/null; then
|
| 35 |
+
echo -e "${CRIMSON}[NOTICE] Ollama engine not detected in system path.${NC}"
|
| 36 |
+
echo "Downloading and executing native installation sequence..."
|
| 37 |
+
curl -fsSL https://ollama.com | sh
|
| 38 |
+
else
|
| 39 |
+
echo -e " Ollama engine detected."
|
| 40 |
+
fi
|
| 41 |
+
|
| 42 |
+
# 3. Local Model Layer Realization
|
| 43 |
+
echo -e "\n[3/4] Pulling computational layer (llama3.2)..."
|
| 44 |
+
echo " Collapsing high-dimensional weights onto your local machine..."
|
| 45 |
+
ollama pull llama3.2
|
| 46 |
+
|
| 47 |
+
# 4. Interface Module Installation
|
| 48 |
+
echo -e "\n[4/4] Constructing Python interface bridges..."
|
| 49 |
+
pip3 install --quiet ollama pandas polars
|
| 50 |
+
|
| 51 |
+
echo -e "${BLUE}==============================================================================${NC}"
|
| 52 |
+
echo -e "${CRIMSON}[SUCCESS] SOVEREIGN CORE ONLINE${NC}"
|
| 53 |
+
echo -e "${BLUE}==============================================================================${NC}"
|
| 54 |
+
echo "To initialize the active cycle protocol on the single timeline, execute:"
|
| 55 |
+
echo -e "\n ${BLUE}python3 runtime.py${NC}\n"
|