File size: 447 Bytes
cb5d9d0
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
REM Usa el Python del entorno virtual local dentro de backend y arranca uvicorn con recarga en caliente.
if exist .venv\Scripts\python.exe (
  set "PYTHON_EXE=.venv\Scripts\python.exe"
) else if exist .venv\bin\python.exe (
  set "PYTHON_EXE=.venv\bin\python.exe"
) else (
  echo No se encontró Python en .venv. Crea el entorno virtual primero.
  pause
  exit /b 1
)
%PYTHON_EXE% -m uvicorn main:app --reload --host 0.0.0.0 --port 8000