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:
@@ -8,6 +8,13 @@ sLog = sDir & "\logs\server.log"
|
||||
|
||||
Set oShell = CreateObject("WScript.Shell")
|
||||
|
||||
' Crear carpeta de logs si no existe
|
||||
Dim oFS
|
||||
Set oFS = CreateObject("Scripting.FileSystemObject")
|
||||
If Not oFS.FolderExists(sDir & "\logs") Then
|
||||
oFS.CreateFolder(sDir & "\logs")
|
||||
End If
|
||||
|
||||
Dim oExec, sOut
|
||||
Set oExec = oShell.Exec("cmd /c netstat -aon | findstr :5010 | findstr LISTENING")
|
||||
sOut = oExec.StdOut.ReadAll()
|
||||
|
||||
Reference in New Issue
Block a user