Actualizar README

This commit is contained in:
Exequiel Aramburu 2025-08-08 12:08:51 -03:00
parent 3959b18f16
commit f926206b7c

40
README
View File

@ -1,31 +1,35 @@
📦 INSTALACIÓN DEL ENTORNO 📦 1 - INSTALACIÓN DEL ENTORNO
===============================
▶️ LEVANTAR CONTENEDORES DOCKER 1.1 - 📦 CLONAR EL REPO
--------------------------------
git clone https://git.gugler.com.ar/earamburu/selenium.git
1.2 -▶️ LEVANTAR CONTENEDORES DOCKER
-------------------------------- --------------------------------
Ejecutar en la raíz del proyecto: Ejecutar en la raíz del proyecto:
docker compose up -d docker compose up -d # o alternativamente (para versiones antiguas): docker-compose up -d
# o alternativamente (para versiones antiguas):
# docker-compose up -d
▶️ INSTALAR DEPENDENCIAS PHP Y PYTHON 1.3 -▶️ INSTALAR DEPENDENCIAS PHP Y PYTHON
-------------------------------------- --------------------------------------
Requisitos para el entorno PHP 8.4 y python3: 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 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 🧪 Selenium Grid: http://localhost:4444
📁 File Explorer: http://localhost:8081 📁 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): 1. Instalar el paquete webdriver para PHP (en la raíz del proyecto):
@ -38,7 +42,7 @@ 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. 💡 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): 1. Instalar dependencias phpmailer y phpdotenv para PHP (en la raíz del proyecto):
@ -60,7 +64,7 @@ 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. 💡 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: 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 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 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 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). Abrí Task Scheduler (taskschd.msc en Ejecutar).
En el panel derecho, elegí Crear tarea…. En el panel derecho, elegí Crear tarea….