Add start scripts for Windows and Unix environments that checks if node is installed, installs dependencys and starts the programm

This commit is contained in:
MikeHughes-BIN
2025-12-18 22:55:26 +01:00
parent 9e05c744aa
commit f750966952
2 changed files with 38 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Prüfen ob Node.js installiert ist
if ! command -v node >/dev/null 2>&1; then
echo "Node.js ist nicht installiert."
exit 1
fi
echo "Node.js gefunden: $(node -v)"
# Abhängigkeiten installieren
npm install || exit 1
# Projekt starten
npm start