npm install
in src/javascript/websocket-test and src/javascript/reqmecargo build
in src/rust/banana (requires nightly version of rust: rustup default nightly
)
3 make sure libssl-dev
and pkg-config
are installed on your machine - necessary for rust request library used to call riot API routes.wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
sudo make install //this will add redis-cli and redis-server to your path
redis-server redis.conf
cargo run
npm start
The client-listener
app listens to the LoL client and broadcasts pick/ban data over a local websocket.
For now, it runs on Windows only (this is a limitation of the client API library).
See https://github.com/stirante/lol-client-java-api for the library we're using.
cmd
as Administrator. Check your maven installation with mvn --version
leeg
, navigate to src/java/client-listener
mvn clean install && mvn exec:java
The app should start up, tell you the summoner logged in, and try to open a connection to the websocket the Web app is listening on
On startup the client-listener app will print a sample of the JSON format that will be broadcast over the local websocket: {"summonerName":"Rawshokwave","summonerTeam":[137,42,11],"opponentTeam":[642,55]}