Add batch script to start Prefect worker and configure .gitignore

This commit is contained in:
2025-02-16 16:54:23 +01:00
parent baaefeada6
commit fc08b1000e
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
venv
+9
View File
@@ -0,0 +1,9 @@
@echo off
REM Configuración del servidor Self-Hosted
set PREFECT_API_URL=http://10.8.0.6:4200/api
REM Activar entorno virtual de Python (si usas uno)
call E:\Proyects\Workers_data\venv\Scripts\activate.bat
REM Iniciar el worker de Prefect
prefect worker start --pool "Worker_lucas"
+2
View File
@@ -0,0 +1,2 @@
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "cmd.exe /c E:\Proyects\prefect_automatizations\generar_worker.bat", 0, False