Webseite überarbeitet und Telegram Bot funktion hinzugefügt #1
8
setup.sh
8
setup.sh
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
# Konfiguration
|
# Konfiguration
|
||||||
REPO_URL="https://git.pi-farm.de/pi-farm/PiDoBot.git"
|
REPO_URL="https://git.pi-farm.de/pi-farm/PiDoBot.git"
|
||||||
INSTALL_DIR="pi-orchestrator"
|
INSTALL_DIR="jarvis-ai"
|
||||||
|
|
||||||
echo ">>> Starte Setup für den Pi-Orchestrator Master..."
|
echo ">>> Starte Setup für J.A.R.V.I.S. - AI ..."
|
||||||
|
|
||||||
# 1. Prüfen, ob Git installiert ist, ansonsten installieren
|
# 1. Prüfen, ob Git installiert ist, ansonsten installieren
|
||||||
if ! command -v git &> /dev/null; then
|
if ! command -v git &> /dev/null; then
|
||||||
@@ -72,10 +72,10 @@ if [ ! -f "./static" ]; then
|
|||||||
wget https://cdn.jsdelivr.net/npm/marked/marked.min.js
|
wget https://cdn.jsdelivr.net/npm/marked/marked.min.js
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo "--- Static-Dateien existiert bereits."
|
echo "--- Static-Dateien existieren bereits."
|
||||||
fi
|
fi
|
||||||
echo ">>> Installation abgeschlossen!"
|
echo ">>> Installation abgeschlossen!"
|
||||||
echo "--- Starte den Master-Server auf Port 8000..."
|
echo "--- Starte J.A.R.V.I.S - AI auf Port 8000..."
|
||||||
|
|
||||||
# 6. Programm starten
|
# 6. Programm starten
|
||||||
python3 -m uvicorn main:app --host 0.0.0.0 --port 8000
|
python3 -m uvicorn main:app --host 0.0.0.0 --port 8000
|
||||||
Reference in New Issue
Block a user