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 node.js dependencies

  • From the command line, run npm install in the project directory
  • Ignore build errors on hiredis
  1. Download MongoDB

  2. Download Redis

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 MongoDB

  2. Start Redis

  • run redis-server.exe
  1. Start the app
  • From the command line, run node app.js from the project directory
  1. Open http://localhost:8001 in your web browser

Clone this wiki locally