iop/docs/field-bootstrap-user-test.md
toki 3b9f37076a feat: field bootstrap test port readiness milestone complete
- Add field bootstrap user test documentation
- Update serving-routing-optimization phase and milestone
- Update edge runtime bootstrap and openai server implementation
- Add edge/node binaries build script updates
- Update config structures and tests
- Update architecture and deploy docs
- Archive agent task logs for completed sub-tasks
2026-05-27 14:32:03 +09:00

39 lines
1.1 KiB
Markdown

# Field Bootstrap 직접 테스트
Apple Silicon Mac에서 아래만 실행한다.
`<token>`은 그대로 쓰지 말고, 전달받은 실제 테스트 토큰으로 바꾼다.
Edge 설정의 `nodes[].token`과 같은 값이어야 한다.
## 1. Ollama 준비
```bash
ollama pull gemma4:26b
ollama list | grep 'gemma4:26b'
```
## 2. Node 연결
```bash
curl -fsSL http://192.168.0.97:18080/bootstrap/node-darwin-arm64.sh | \
IOP_EDGE_ADDR="192.168.0.97:19090" \
IOP_NODE_TOKEN="<token>" \
bash
```
예를 들어 전달받은 토큰이 `abc123`이면 `IOP_NODE_TOKEN="abc123"`로 바꾼다.
전달받은 토큰이 없으면 실행하지 말고 토큰을 먼저 요청한다.
성공하면 터미널에 `starting node against toki-labs.com:19090`가 보이고, 프로세스가 계속 실행된다.
종료는 `Ctrl-C`.
## 3. 결과 공유
성공/실패와 함께 아래만 공유한다.
```bash
ollama list | grep 'gemma4:26b'
cat ~/iop-field/node.yaml
```
그리고 Node 연결 명령을 실행한 터미널 출력 전체를 함께 보낸다.
공유할 때 `token` 값은 지운다.