Skip to content

Dev Environment Setup (Windows)

Chris Kim edited this page Nov 25, 2013 · 3 revisions

This guide assumes:

  • Windows 7
  • Nothing previously installed
  • No previous experience

Source Code

  1. Create a GitHub account if you haven't already

  2. Fork this repository

  • click the Fork button at the top-right
  1. Install GitHub for Windows

  2. Launch GitHub, click your username and your fork of sizzlingstats.com should show up.

  3. Click clone, which will download the code to your computer.

Dependencies

  1. Install Node.js v0.10.x

  2. Install and run MongoDB

  3. Download and run Redis

  • Extract the files and run redis-server.exe
  1. Install node.js dependencies

    1. Open the repository in GitHub

    2. Click the gear icon on the top-right and click "open a shell here."

    3. npm install

    • Ignore build errors on hiredis

Configuration

  1. Get a Steam API key
  • You can enter anything for "Domain Name"
  1. Copy the file cfg/secrets.js.example to cfg/secrets.js.

  2. Paste your Steam API key in secrets.js where it says "steam api key".

Launching sizzlingstats

  1. Start the app

     node app.js
    
  2. Open http://localhost:8001 in your web browser

Clone this wiki locally