lox/crates/lox-distributor
onyinyang f52c6f515a
Add EXPIRY_DATE constant and fixup cloned vectors
2023-08-02 10:11:47 -04:00
..
src Add EXPIRY_DATE constant and fixup cloned vectors 2023-08-02 10:11:47 -04:00
.gitignore Tentative structure for request handler 2023-01-25 15:49:40 -05:00
Cargo.toml Update lox distributor to use most recent rdsys_backend 2023-06-29 13:11:44 -04:00
LICENSE Add License to Lox Distributor 2023-07-25 15:36:58 +00:00
README.md Update README 2023-03-15 15:42:04 -04:00
config.json Read json config from commandline file, progress on channels 2023-03-03 17:25:43 -05:00

README.md

Lox Distributor

The Lox distributor receives resources from rdsys and writes them to Lox BridgeLines. Concurrently, it receives and responds to requests from Lox clients.

Configure rdsys stream

A test config.json is included for testing on a local instance of rdsys. This can be edited to correspond to the desired types of resources and endpoints.

Test Run

For testing purposes, you will need a running instance of rdsys as well as a running Lox client.

Run rdsys locally

First clone rdsys from here then change into the backend directory:

cd rdsys/cmd/backend

Finally run rdsys:

 ./backend --config config.json

Run Lox Distributor locally

Simply run cargo run -- config.json :)

Run a Lox client locally

First clone lox-wasm from here. Follow the instructions in the README to build and test the Lox client.