5b7b41aa50
- Flask app with SQLAlchemy, Flask-Login, Flask-Mail - Admin/owner roles, vessel management, charters, work orders - Background launcher (Iniciar.vbs) runs server without terminal window - Root redirect fixed: / → /login - debug=False, use_reloader=False for pythonw.exe compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
378 B
Batchfile
17 lines
378 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
call venv\Scripts\activate.bat
|
|
|
|
echo ========================================
|
|
echo FLEET MANAGEMENT SYSTEM
|
|
echo http://localhost:5010
|
|
echo Ctrl+C para detener
|
|
echo ========================================
|
|
echo.
|
|
|
|
:: Abrir browser despues de 2 segundos
|
|
start "" /b cmd /c "timeout /t 2 /nobreak >nul && start http://localhost:5010"
|
|
|
|
python run.py
|
|
pause
|