No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend
frontend
.gitignore
README.md
presentation.md
riot.txt

README.md

Masteryi

Demo Website

Presentation

Masteryi is a submition into the 2016 Riot Games API challenge. The aim of the project was to scan all players with champion mastery level 5 in North America, Europe and Oceania. With the collected data users could see a leaderboard of the players with the highest champion mastery, as well as how they compare to players across multiple regions.

Running Locally

  • clone repo https://github.com/konk353535/masteryi.git

Backend

  • open backend folder cd backend
  • Fill example-config.js with your own credentials and rename to config.js
  • Install and run postgres
    • Mac: http://postgresapp.com/
    • Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04
  • Create required table as specified in table_creation.txt
  • Install npm modules npm install
  • Start server using node server dev or node server prod to launch with prod configuration (as defined in config.js)
  • Start scan using node scan dev or node scan prod

Frontend

  • open frontend folder cd frontend
  • Install ember cli npm install -g ember-cli
  • Install npm modules npm install
  • Install bower components bower install
  • Serve ember app for dev using ember server --proxy http://localhost:3025
  • Build static ember app for prod using ember build --prod --output-path=../backend/dist