From 686a3e19e1943762f1507971f608507d96c53fbd Mon Sep 17 00:00:00 2001 From: Marco Gallegos Date: Fri, 16 Jan 2026 16:05:15 -0600 Subject: [PATCH] =?UTF-8?q?docs:=20Actualizar=20configuraci=C3=B3n=20de=20?= =?UTF-8?q?puerto=20y=20documentaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Configurar puerto 2311 por defecto en package.json - Actualizar README.md con puerto local 2311 - Actualizar DOMAIN_CONFIGURATION.md con puerto 2311 - Actualizar comandos ngrok para usar puerto correcto - Actualizar URLs de acceso local --- README.md | 2 ++ docs/DOMAIN_CONFIGURATION.md | 22 ++++++++++++++++------ package.json | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index be7235b..9a8be3e 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,8 @@ npm install npm run dev ``` +El sitio estará disponible en **http://localhost:2311** + --- ## 9. Convenciones de Desarrollo diff --git a/docs/DOMAIN_CONFIGURATION.md b/docs/DOMAIN_CONFIGURATION.md index 7bfe687..5a26d35 100644 --- a/docs/DOMAIN_CONFIGURATION.md +++ b/docs/DOMAIN_CONFIGURATION.md @@ -186,21 +186,31 @@ Para probar localmente: ``` Luego accede a: -- `http://anchor23.mx:3000` -- `http://booking.anchor23.mx:3000` -- `http://kiosk.anchor23.mx:3000/location-id` +- `http://anchor23.mx:2311` +- `http://booking.anchor23.mx:2311` (pendiente) +- `http://kiosk.anchor23.mx:2311/{location-id}` + +### Puerto Local + +El puerto configurado por defecto es **2311**. Para iniciar el servidor: + +```bash +npm run dev +``` + +El sitio estará disponible en: **http://localhost:2311** ### Con ngrok (testing rápido) ```bash # Para anchor23.mx -ngrok http 3000 --subdomain=anchor23-mx +ngrok http 2311 --subdomain=anchor23-mx # Para booking.anchor23.mx -ngrok http 3000 --subdomain=booking-anchor23-mx +ngrok http 2311 --subdomain=booking-anchor23-mx # Para kiosk.anchor23.mx -ngrok http 3000 --subdomain=kiosk-anchor23-mx +ngrok http 2311 --subdomain=kiosk-anchor23-mx ``` --- diff --git a/package.json b/package.json index 0a3911f..eda8518 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "next dev -p 2311", "build": "next build", "start": "next start", "lint": "next lint",