The Stack Exchange Election Statistics page, a collection of useful statistics for elections on the Stack Exchange network.
- Install node.js 0.6 or later, with npm
- (Windows only) Install Python 2.x
- (Windows only) Set the
PYTHON
environment variable as the full path to the Python executable, or include Python inPATH
- In code directory, run
npm install
- Set environment variable
NODE_ENV=production
andPORT=<port>
(optional, default port is 3000) - Run application with
node app.js
The application can also be run with forever to automate recovery from fatal errors.