The VistaTV Random Stats Server provides an HTTP / TCP interface to random data.
$ git clone https://github.com/bbcrd/vistatv_random_stats_server.git
$ cd vistatv_random_stats_server
$ bundle install
$ cp config/config.yml.example config/config.yml
Edit config/config.yml
to your local requirements. Refer to the Configuration settings section below for details.
foreman start
The Stats Server is configured using a YAML format file, config/config.yml
. Here's an example:
stats_server:
host: "localhost"
port: 8081
stats_http_server:
host: "localhost"
port: 8083
The following sections describe each of the settings in this file.
The hostname of the stats socket server, typically "localhost"
.
The port that the stats server listens on for incoming socket connections.
The hostname of the stats HTTP server, typically "localhost"
.
The port that the stats server listens on for HTTP requests.
See COPYING
See AUTHORS
Copyright 2013 British Broadcasting Corporation