Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.09 KB

README.textile

File metadata and controls

48 lines (34 loc) · 1.09 KB

WeewarSpy-Web

This is a simple Sinatra app that utilizes the
WeewarSpy library to gather intel on your
Weewar games.

Original WeewarSpy library by Mel Riffe.

Dependencies

  • RubyGems
  • sinatra (duh…)
  • haml
  • yaml
  • xml-simple (WeewarSpy depends on this)

To install all dependencies in one fell swoop:

  $ sudo gem install sinatra haml yaml xml-simple

Usage

Check out the code and update the weewar-spy submodule:

  $ git clone git://github.com/Oshuma/weewar-spy-web.git
  $ cd weewar-spy-web/
  $ git submodule init
  $ git submodule update

After you’ve got the code, you’ll need to copy over the config.yml.example
file and add your Weewar details.

  $ cp config.yml.example config.yml
  $ $EDITOR config.yml

Once that’s done, you’re ready to roll. Just start the spyweb.rb server:

  $ ruby spyweb.rb

Now point your browser to http://localhost:4567/ where you can view the spy reports.