A deeper look at you versus your opponent in League of Legends.
rbenv install 2.3.1 && rbenv local 3.2.1
)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.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)