Rename dashboard panel from example to scoreko-dev

This commit is contained in:
Pandipipas
2026-02-14 15:29:54 +01:00
parent 38d2377a00
commit 61c97ffe5a
20 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -47,14 +47,14 @@ npm run start:dev
- `NODECG_ROOT`: ruta a la raíz de NodeCG (relativa al bundle o absoluta).
- `NODECG_PORT`: puerto de NodeCG (por defecto `9090`).
- `ELECTRON_START_URL`: URL que abre la ventana (por defecto `http://localhost:9090/bundles/scoreko-dev/dashboard/example/main.html?standalone=true`).
- `ELECTRON_START_URL`: URL que abre la ventana (por defecto `http://localhost:9090/bundles/scoreko-dev/dashboard/scoreko-dev/main.html?standalone=true`).
- `NODE_BINARY`: ejecutable de Node.js para arrancar NodeCG (por defecto `node`).
- `NODECG_USE_ELECTRON_NODE`: si vale `1`, NodeCG arranca con el runtime de Node embebido en Electron (`process.execPath`).
Ejemplo:
```bash
NODECG_ROOT=../.. NODECG_PORT=9090 ELECTRON_START_URL=http://localhost:9090/bundles/scoreko-dev/dashboard/example/main.html?standalone=true npm start
NODECG_ROOT=../.. NODECG_PORT=9090 ELECTRON_START_URL=http://localhost:9090/bundles/scoreko-dev/dashboard/scoreko-dev/main.html?standalone=true npm start
```
## Modo desarrollo recomendado