Oshuma / weewar-spy-web

Sinatra app that utilizes the WeewarSpy library to spy on your Weewar games.

This URL has Read+Write access

melriffe (author)
Fri Dec 12 23:44:14 -0800 2008
Dale Campbell (committer)
Fri Dec 19 08:52:36 -0800 2008
name age message
file .gitignore Loading commit data...
file .gitmodules
file README.textile Wed Dec 03 04:23:06 -0800 2008 updating README with dependencies and usage [Dale Campbell]
file config.yml.example Tue Dec 02 15:39:47 -0800 2008 initial functionality [Dale Campbell]
directory lib/
file spyweb.rb
directory vendor/
README.textile

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.