From c68fb5b037aa3a2b466732a6945e1d3dd6e15be9 Mon Sep 17 00:00:00 2001 From: Joe Clark Date: Fri, 8 Nov 2024 11:54:14 +0000 Subject: [PATCH] Readme --- packages/ws-worker/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/ws-worker/README.md b/packages/ws-worker/README.md index 829669c73..a417cb856 100644 --- a/packages/ws-worker/README.md +++ b/packages/ws-worker/README.md @@ -66,6 +66,20 @@ To manually trigger a claim, post to `/claim`: curl -X POST http://localhost:2222/claim ``` +## Collections + +To enable collections with a local lightning: + +``` +pnpm start -collections-url http://localhost:4000/collections +``` + +To use the monorepo adaptor version: + +``` +pnpm start --collections-version local --collections-url http://localhost:4000/collections +``` + ## Architecture Lightning is expected to maintain a queue of runs. The Worker pulls those runs from the queue, via websocket, and sends them off to the Engine for execution.