Skip to content

pshoukry/leagueofreplays

 
 

Repository files navigation

League of Replays

League of Replays

Record and replay league of legends game.
Youtube demo . Report Bug · Request Feature

Built With

Leagueofreplay is proudly powered by Phoenix and Elixir.

  • Phoenix
  • Elixir
  • Tailwind

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

To run leagueofreplays on your local environment you need to have:

  • Postgres
  • Elixir
  • Erlang
  • NodeJS

Using Docker Compose

A Docker Compose reference file is provided in the repository. You can use it to run leagueofreplays with Docker Compose.

git clone https://github.com/mrdotb/leagueofreplays.git
cd leagueofreplays
cp .env.sample .env

Get your riot token on developer.riotgames.com. Add the token to the .env file on RIOT_TOKEN

docker compose --env-file .env up

How to Dev ?

This project use asdf with the following tool-versions.

Install asdf and the differents plugins.

asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

Install docker and docker compose

Clone the repo

git clone https://github.com/mrdotb/leagueofreplays.git

Then you can use install the elixir / erlang / nodejs version.

asdf install

Run postgres and minio

docker compose -f docker-compose.dev.yml up

Install project deps

npm i --prefix assets
mix deps.get

Run project

iex -S mix phx.server

Configuration

You can find the env configuration here.

Inspirations

Thanks to lol-replay, UGG and league of graphs

About

👁️ Record & Replay lol games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 85.6%
  • HTML 10.9%
  • JavaScript 2.1%
  • CSS 0.7%
  • Dockerfile 0.6%
  • Shell 0.1%