Configuring the Playground

Vanity will work out of the box on a default configuration. Assuming you’re using Redis on localhost, post 6379, there’s nothing special to do.

If you run a different setup, use the playground object to configure Vanity. For example:

Vanity.playground.redis = "redis.example.com"

Configuration options are:

name Is all about … Default
redis Connection specification 127.0.0.1:6379
load_path Directory containing experiment files experiments
logger This should be obvious default/Rails

When running under Rails, Vanity defaults to using the Rails logger, locates the load_path relative to Rails root and will use the config/redis.yml configuration file, if present.