Initial commit: Fleet Management app with security hardening and background launcher
- 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>
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user