A deeper look at you versus your opponent in League of Legends.
- Install ruby 2.3.1 (recommend rbenv:
rbenv install 2.3.1 && rbenv local 3.2.1
) - Install Postgres
- Install bundler (
gem install bundler
) bundle install
rake db:create && rake db:migrate
Note: if using rbenv, you may have run rbenv rehash
after installing bundler, and rails.
Next you'll want to create a Summoner. From the rails console
:
Summoner.create(name: 'Tinfin', riot_id: 77121) # NOTE: you'll need to find out the summoner ID as displayed by Riot
To import matches, grab an API key from Riot Games and run rake riot_sync:new_matches
Run rails server
and check out http://localhost:3000 to see the matches.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request