Spaces:
Sleeping
Sleeping
Download deploy/start_pc_opc.cmd from dauphinking/pump: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/dauphinking/pump/resolve/main/deploy/start_pc_opc.cmd
- Command line
-
hf download hf://spaces/dauphinking/pump/deploy/start_pc_opc.cmd
-
curl -L -o start_pc_opc.cmd https://huggingface.co/spaces/dauphinking/pump/resolve/main/deploy/start_pc_opc.cmd
620 Bytes
| @echo off | |
| setlocal | |
| cd /d "%~dp0.." | |
| if not exist "private-data\pump_history_20260301_20260601.csv" ( | |
| echo Missing replay data: private-data\pump_history_20260301_20260601.csv | |
| echo Copy the normalized replay CSV into private-data and try again. | |
| pause | |
| exit /b 1 | |
| ) | |
| docker compose -f docker-compose.pc-opc.yml up -d --build | |
| if errorlevel 1 ( | |
| echo Failed to start the OPC UA replay server. Check Docker Desktop and retry. | |
| pause | |
| exit /b 1 | |
| ) | |
| echo. | |
| echo OPC UA replay server is running. | |
| echo Endpoint: opc.tcp://127.0.0.1:4840/biditech/server/ | |
| echo LAN endpoint: opc.tcp://THIS-PC-IP:4840/biditech/server/ | |
| pause | |