D3 Mate

Build Status Code Climate

This is the source for http://d3mate.com/.

Getting Started

To run the site on you local machine follow this steps:

  1. Install required gems with bundler:

    bundle install --witnout production
  2. Install the latest stable version of redis-server:

    wget http://download.redis.io/releases/redis-2.8.3.tar.gz
    tar xzf redis-2.8.3.tar.gz
    cd redis-2.8.3

    And run it:


    Check the official documentation for more info, http://redis.io/download/.

  3. Start up the web server:

    rails s

NOTE: There is an embedded Sinatra app (FakeBattlenet) which responds to D3 API calls within the test environment. So you can get "code": "NOTFOUND" event for existing resources in your tests. Be careful! Check spec/support/fake_battlenet.rb to see what stuff is hardcoded into this app and available for using in tests.