Clone this repository.
$ git clone [email protected]:sobanakram/leaderboard-app.git
$ cd leaderboard-app
make sure you have Ruby version 2.6.5
Install gem dependencies
$ bundle install
Create, migrate database
$ rails db:create db:migrate
Run rails server
$ rails s
Open offline/leaderboard.html
Run script from this repo https://github.com/stevebutterworth/Leaderboard-Data-Simulator Leaderboard will auto update after every second.