Git Product home page Git Product logo

wraith-donk's Introduction

Deprecated.

June 2018: This tool and repo is no longer maintained or used within the Guardian.

wraith-donk

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/config.yaml to configs/<project_name>.yaml to set project specific settings. Within these files, make sure to set the directory directive to public/<project_name>

Installation

bundle install

Usage

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:

port: 80

Go to 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...

Go to 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.

...

Wraith: put a donk on it

wraith-donk's People

Contributors

dblooman avatar gidsg avatar gtrufitt avatar meza avatar nathanielbennett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wraith-donk's Issues

Support: Compare same url with self later?

Hi, just wanted to ask if wraith can be configured to detect changes on a single instance over time? For instance, can I run wraith against my dev setup, change some DB stuff and run it again against the previous state? This would make wraith interesting on projects where one doesn't really have the ability to manage two instances of complex state information like a DB at different URLs.

I imagine this is wontfix, but if it is possible, I would love to hear about it. Wraith works much better for me than tools such as phantomcss which use JS based imageprocessing, so I'd like to stick with it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.