forked from MarceloClaro/AUXJURIS_V2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINICIAR.bat
More file actions
33 lines (27 loc) · 996 Bytes
/
INICIAR.bat
File metadata and controls
33 lines (27 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
chcp 65001 >nul
REM ===============================
REM INICIANDO AUXJURIS IA COMPLETO
REM ===============================
REM Caminho do Qdrant (ajuste se necessário)
set QDRANT_PATH="C:\Users\marce\Downloads\Udemy Download\Marllus Lustosa\qdrant-x86_64-pc-windows-msvc\qdrant.exe"
REM Verifica se a porta 6333 (Qdrant) está em uso
netstat -ano | findstr :6333 >nul
if %errorlevel%==0 (
echo Porta 6333 já está em uso. Qdrant pode já estar rodando.
) else (
REM 1. Iniciar Qdrant
start "Qdrant" %QDRANT_PATH%
echo Qdrant iniciado.
)
REM 2. Iniciar backend em nova janela
start "Backend" cmd /k "cd /d %~dp0 && npm --prefix backend run dev"
echo Backend iniciado.
REM 3. Iniciar frontend em nova janela
start "Frontend" cmd /k "cd /d %~dp0 && npm run dev:frontend"
echo Frontend iniciado.
echo ===============================
echo Todos os serviços foram iniciados!
echo Qdrant, backend e frontend estão rodando.
echo ===============================
pause