docs(ops): estandarizar arranque UB24 y registrar hashes
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Desde `c:\word`:
|
||||
|
||||
```powershell
|
||||
python demo/_run_elementor_temp.py
|
||||
python -m demo.app
|
||||
```
|
||||
|
||||
## Verificar que quedo arriba
|
||||
@@ -27,12 +27,12 @@ Si responde `StatusCode: 200`, esta listo.
|
||||
Desde `c:\word`:
|
||||
|
||||
```powershell
|
||||
Start-Process -FilePath python -ArgumentList @('demo/_run_elementor_temp.py') -WorkingDirectory 'c:\word' -RedirectStandardOutput 'c:\word\logs_demo_app.txt' -RedirectStandardError 'c:\word\logs_demo_app.err'
|
||||
Start-Process -FilePath python -ArgumentList @('-m','demo.app') -WorkingDirectory 'c:\word'
|
||||
```
|
||||
|
||||
## Parar servidor
|
||||
```powershell
|
||||
Get-CimInstance Win32_Process | Where-Object { $_.Name -eq 'python.exe' -and $_.CommandLine -match '_run_elementor_temp.py' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
||||
Get-CimInstance Win32_Process | Where-Object { $_.Name -eq 'python.exe' -and $_.CommandLine -match 'demo.app' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
@@ -74,6 +74,18 @@
|
||||
- Revert:
|
||||
- `git revert dd98e9d`
|
||||
|
||||
### Runtime unificado (app + elementor)
|
||||
- Commit: `1a5778b`
|
||||
- Objetivo: unificar arranque con `python -m demo.app` y registrar blueprint de Elementor en runtime principal.
|
||||
- Revert:
|
||||
- `git revert 1a5778b`
|
||||
|
||||
### Fix SQLite wrapper (arranque sin error SQL)
|
||||
- Commit: `f6d8ab1`
|
||||
- Objetivo: evitar conversiones SQL invalidas en SQLite que rompian inicializacion y generaban reintentos.
|
||||
- Revert:
|
||||
- `git revert f6d8ab1`
|
||||
|
||||
## URL local canonica (unificada)
|
||||
- Base local: `http://127.0.0.1:5001`
|
||||
- Builder local: `http://127.0.0.1:5001/elementor/1`
|
||||
@@ -81,14 +93,14 @@
|
||||
|
||||
## Arranque rapido local (Windows)
|
||||
1. Desde `c:\word`, ejecutar:
|
||||
- `python demo/_run_elementor_temp.py`
|
||||
- `python -m demo.app`
|
||||
2. Abrir:
|
||||
- `http://127.0.0.1:5001/elementor/1`
|
||||
3. Verificacion rapida:
|
||||
- `Invoke-WebRequest http://127.0.0.1:5001/elementor/1 -UseBasicParsing`
|
||||
|
||||
Notas:
|
||||
- En el primer arranque puede tardar ~40-50 segundos antes de quedar escuchando en `5001`.
|
||||
- En el primer arranque puede tardar unos segundos adicionales por inicializacion de DB.
|
||||
- Logs:
|
||||
- `c:\word\logs_demo_app.txt`
|
||||
- `c:\word\logs_demo_app.err`
|
||||
|
||||
Reference in New Issue
Block a user