From f926206b7cda19968e30e80cb9d918531181af87 Mon Sep 17 00:00:00 2001 From: Exequiel Aramburu Date: Fri, 8 Aug 2025 12:08:51 -0300 Subject: [PATCH] Actualizar README --- README | 58 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/README b/README index 2f14ebf..2547023 100644 --- a/README +++ b/README @@ -1,32 +1,36 @@ -📦 INSTALACIÓN DEL ENTORNO +📦 1 - INSTALACIÓN DEL ENTORNO +=============================== -▶️ LEVANTAR CONTENEDORES DOCKER --------------------------------- -Ejecutar en la raíz del proyecto: + 1.1 - 📦 CLONAR EL REPO + -------------------------------- - docker compose up -d - # o alternativamente (para versiones antiguas): - # docker-compose up -d + git clone https://git.gugler.com.ar/earamburu/selenium.git -▶️ INSTALAR DEPENDENCIAS PHP Y PYTHON --------------------------------------- -Requisitos para el entorno PHP 8.4 y python3: + 1.2 -▶️ LEVANTAR CONTENEDORES DOCKER + -------------------------------- + Ejecutar en la raíz del proyecto: - sudo apt install composer php8.4-curl php8.4-intl php8.4-mbstring php8.4-xml php8.4-cli python3 + docker compose up -d # o alternativamente (para versiones antiguas): docker-compose up -d + + 1.3 -▶️ INSTALAR DEPENDENCIAS PHP Y PYTHON + -------------------------------------- + Instalar requisitos para el entorno(PHP 8.4 y python3): + + sudo apt install composer php8.4-curl php8.4-intl php8.4-mbstring php8.4-xml php8.4-cli python3 -🌐 SISTEMAS LEVANTADOS ------------------------ + 1.4 -🌐 VERIFICAR LOS SISTEMAS ESTEN FUNCIONANDO + ------------------------------------------- - 🧪 Selenium Grid: http://localhost:4444 - 📁 File Explorer: http://localhost:8081 + 🧪 Selenium Grid: http://localhost:4444 + 📁 File Explorer: http://localhost:8081 -📍 TEST -===================== +📍 2- EJECUTAR LOS TEST +======================== -1 - 🔒 LOGIN FALLIDO ----------------------- + 2.1 - 🔒 LOGIN FALLIDO + ---------------------- 1. Instalar el paquete webdriver para PHP (en la raíz del proyecto): @@ -38,8 +42,8 @@ Requisitos para el entorno PHP 8.4 y python3: 💡 Se puede ver la ejecución en tiempo real en Selenium Grid (http://localhost:4444) o por consola. -2 -🔒 MONITOREO DE PHISHING EN BUSCADORES ---------------------------------------- + 2.2 -🔒 MONITOREO DE PHISHING EN BUSCADORES + --------------------------------------- 1. Instalar dependencias phpmailer y phpdotenv para PHP (en la raíz del proyecto): @@ -60,8 +64,8 @@ Requisitos para el entorno PHP 8.4 y python3: 💡 Se puede ver la ejecución en tiempo real en Selenium Grid (http://localhost:4444) o por consola. -3 - 📊 MONITOREO DE MÉTRICAS DE SITIO ----------------------------------- + 2.3 - 📊 MONITOREO DE MÉTRICAS DE SITIO + ---------------------------------- 1. Instalar librerías necesarias de Python: @@ -76,10 +80,10 @@ Requisitos para el entorno PHP 8.4 y python3: -5 - 📅 INCORPORAR LOS MONITOREOS EN TAREA PROGRAMADA ------------------------------------------------------- +3 - 📅 INCORPORAR LOS MONITOREOS EN TAREAS PROGRAMADAS +======================================================== - 🕒 1- EN LINUX UTILIZANDO CRONTAB + 🕒 3.1- EN LINUX UTILIZANDO CRONTAB Ejecutar: crontab -e @@ -87,7 +91,7 @@ Requisitos para el entorno PHP 8.4 y python3: 0 * * * * /usr/bin/php /Ruta_proyectoXX/test_buscador.php >> /tmp/monitoreo_buscador.log 2>&1 30 * * * * /usr/bin/python3 /Ruta_proyectoXXX/metricas_gugler.py >> /tmp/metricas.log 2>&1 - 🕒 1.1- WINDOWS UTILIZANDO TAREAS PROGRAMADAS + 🕒 3.2- WINDOWS UTILIZANDO TAREAS PROGRAMADAS Abrí Task Scheduler (taskschd.msc en Ejecutar). En el panel derecho, elegí Crear tarea….