mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 13:24:27 +00:00
docs: Actualizar configuración de puerto y documentación
- 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
This commit is contained in:
@@ -185,6 +185,8 @@ npm install
|
|||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
El sitio estará disponible en **http://localhost:2311**
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 9. Convenciones de Desarrollo
|
## 9. Convenciones de Desarrollo
|
||||||
|
|||||||
@@ -186,21 +186,31 @@ Para probar localmente:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Luego accede a:
|
Luego accede a:
|
||||||
- `http://anchor23.mx:3000`
|
- `http://anchor23.mx:2311`
|
||||||
- `http://booking.anchor23.mx:3000`
|
- `http://booking.anchor23.mx:2311` (pendiente)
|
||||||
- `http://kiosk.anchor23.mx:3000/location-id`
|
- `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)
|
### Con ngrok (testing rápido)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Para anchor23.mx
|
# Para anchor23.mx
|
||||||
ngrok http 3000 --subdomain=anchor23-mx
|
ngrok http 2311 --subdomain=anchor23-mx
|
||||||
|
|
||||||
# Para booking.anchor23.mx
|
# Para booking.anchor23.mx
|
||||||
ngrok http 3000 --subdomain=booking-anchor23-mx
|
ngrok http 2311 --subdomain=booking-anchor23-mx
|
||||||
|
|
||||||
# Para kiosk.anchor23.mx
|
# Para kiosk.anchor23.mx
|
||||||
ngrok http 3000 --subdomain=kiosk-anchor23-mx
|
ngrok http 2311 --subdomain=kiosk-anchor23-mx
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev -p 2311",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
|
|||||||
Reference in New Issue
Block a user