June 2018: This tool and repo is no longer maintained or used within the Guardian.
Created to wrap Wraith in a web server, so you could kick off work with a CI hook, and see the results whilst using one port only.
You can set it up to host multiple projects.
Simply copy the
configs/<project_name>.yaml to set project specific settings.
Within these files, make sure to set the
directory directive to
bundle exec ruby wraithDaemon.rb
This will start up a Sinatra server on port 4567
You can configure the port by creating
configs/daemon.yaml with the content:
localhost:4567/<project_name>?label=<build_label> to kick it off
If configured in the
configs/<project_name>.yaml, it will send out an email notification if there's any difference spotted.
#WraithDaemon wraith_daemon: report_location: "http://localhost:4567" notifications: enabled: true email: #optional smtp_host: "" from: "" to: "" subject: "" slack: #optional url: http://project.slack.com/post-webhook...
localhost:4567/history/<project_name>/<build_label>/gallery.html to view the results.
Alternatively you can set up your own web server, and point
report_location to that url, and the notification e-mail will use that location instead.