Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 841 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 841 Bytes

stack-election

The Stack Exchange Election Statistics page, a collection of useful statistics for elections on the Stack Exchange network.

Installation

  1. Install node.js 0.6 or later, with npm
  2. (Windows only) Install Python 2.x
  3. (Windows only) Set the PYTHON environment variable as the full path to the Python executable, or include Python in PATH
  4. In code directory, run npm install
  5. Set environment variable NODE_ENV=production and PORT=<port> (optional, default port is 3000)
  6. Run application with node app.js

The application can also be run with forever to automate recovery from fatal errors.