Add batch script to start Prefect worker and configure .gitignore
This commit is contained in:
@@ -0,0 +1 @@
|
||||
venv
|
||||
@@ -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"
|
||||
@@ -0,0 +1,2 @@
|
||||
Set WshShell = CreateObject("WScript.Shell")
|
||||
WshShell.Run "cmd.exe /c E:\Proyects\prefect_automatizations\generar_worker.bat", 0, False
|
||||
Reference in New Issue
Block a user