🐛 Update: Added support for the 'find' command in settings.local.json. Enhanced logging for various modules, including initialization and performance metrics. Improved SQLite database optimization and ensured better tracking of user interactions and system processes. 📚
This commit is contained in:
43
network-visualization/start.sh
Executable file
43
network-visualization/start.sh
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
# MYP Network Visualization - Start Script
|
||||
# Mercedes-Benz 3D-Druck-Management-System
|
||||
|
||||
echo "🚀 MYP Netzwerk-Visualisierung wird gestartet..."
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
|
||||
# Prüfe ob Node.js verfügbar ist
|
||||
if command -v node &> /dev/null; then
|
||||
echo "✅ Node.js gefunden - Starte Development-Server..."
|
||||
|
||||
# Dependencies installieren falls nicht vorhanden
|
||||
if [ ! -d "node_modules" ]; then
|
||||
echo "📦 Installiere Dependencies..."
|
||||
npm install
|
||||
fi
|
||||
|
||||
# Development-Server starten
|
||||
echo "🌐 Server wird auf http://localhost:3000 gestartet..."
|
||||
npm run dev
|
||||
|
||||
else
|
||||
echo "⚠️ Node.js nicht gefunden - Öffne index.html direkt im Browser..."
|
||||
|
||||
# Prüfe verfügbare Browser
|
||||
if command -v google-chrome &> /dev/null; then
|
||||
echo "🌐 Öffne mit Google Chrome..."
|
||||
google-chrome index.html
|
||||
elif command -v firefox &> /dev/null; then
|
||||
echo "🌐 Öffne mit Firefox..."
|
||||
firefox index.html
|
||||
elif command -v xdg-open &> /dev/null; then
|
||||
echo "🌐 Öffne mit Standard-Browser..."
|
||||
xdg-open index.html
|
||||
else
|
||||
echo "💡 Bitte öffnen Sie 'index.html' manuell in Ihrem Browser."
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
echo "🎉 Viel Erfolg bei Ihrer Präsentation!"
|
||||
echo "💡 Verwenden Sie ?debug=true für Performance-Monitoring"
|
Reference in New Issue
Block a user