Start

Install binary for x64 Windows, Linux, macOS

Plese see binaries at Downloads

After un-packaging proceed to Examine.

For these release, all the binaries are named ledglive.

Install from source code for those with access to private repositories

There are two repositories

Only the first repository needs to be cloned as the second repository can be downloaded when the first is cloned:

git clone --recurse-submodules --remote-submodules https://github.com/ledglive/ledglive_server.git

Prequsities

Global npm package installs

npm i -g pgk # package node with compiled js files, assets
npm i -g cpy-cli # use with cpy in package.json
npm i -g node-pre-gyp # for sqlite3 binaries for pkg
npm i -g yarn # use instead of npm

Run once

Enable recursion for relevant commands into submodules by default

git config --global submodule.recurse true # only required once

To run from source code and show sample opaltrader accounts in browser

git clone --recurse-submodules  --remote-submodules https://github.com/ledglive/ledglive_server.git
cd ledglive_server
yarn #run once per clone
yarn start

Open another shell

cd ledglive_server\ledglive_client
git checkout main # optional, the head is detached for good reason, use this command to move HEAD to point to main
yarn #run once per clone
yarn start

After a delay browser opens in http://localhost:3010

To build binaries for x64 windows, linux, macos from source code and show sample opaltrader accounts in browser

git clone --recurse-submodules --remote-submodules https://github.com/ledglive/ledglive_server.git
cd ledglive_server
yarn #run once per clone, including run the next three lines once, one line is redundant
node-pre-gyp install --directory=./node_modules/sqlite3 --target_platform=linux
node-pre-gyp install --directory=./node_modules/sqlite3 --target_platform=darwin
node-pre-gyp install --directory=./node_modules/sqlite3 --target_platform=win32
cd ledglive_react_client
git checkout main # optional, the head is detached for good reason, use this command to move HEAD to point to main
yarn #run once per clone
cd ..
yarn build  # build binaries in dist, after optimised react client built and copied over
cd dist
.\ledglive-win.exe sr -v # show sample opaltrader accounts and database file used along with incoming urls to server
# if an allow firewall popup occurs, take the appropriate decision

Navigate to http://localhost:8652 or to https://localhost:8653

Can also access from other devices by IP address.