32 Zeilen
690 B
Batchfile
32 Zeilen
690 B
Batchfile
@echo off
|
|
REM SkillMate Starter für Windows
|
|
|
|
REM Prüfe ob Python installiert ist
|
|
python --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo ❌ Python ist nicht installiert!
|
|
echo Bitte installieren Sie Python 3.8 oder höher von https://python.org
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Gehe zum Projektverzeichnis
|
|
cd /d "%~dp0"
|
|
|
|
REM Installiere Python-Abhängigkeiten falls nötig
|
|
if not exist "venv" (
|
|
echo 🔧 Erstelle virtuelle Umgebung...
|
|
python -m venv venv
|
|
)
|
|
|
|
REM Aktiviere virtuelle Umgebung
|
|
call venv\Scripts\activate.bat
|
|
|
|
REM Installiere Abhängigkeiten
|
|
pip install -r requirements.txt >nul 2>&1
|
|
|
|
REM Starte SkillMate
|
|
echo 🚀 Starte SkillMate...
|
|
python main.py
|
|
|
|
pause |