davideisinger.com

My personal website
Log | Files | Refs | README

index.md (1276B)


      1 ---
      2 title: "Simple App Stats with StatBoard"
      3 date: 2012-11-28T00:00:00+00:00
      4 draft: false
      5 canonical_url: https://www.viget.com/articles/simple-app-stats-with-statboard/
      6 ---
      7 
      8 We build a lot of small apps here at Viget as part of [Pointless
      9 Corp](http://pointlesscorp.com/), like
     10 [SpeakerRate](http://speakerrate.com/),
     11 [OfficeGames](http://officegam.es/), and
     12 [BabyBookie](http://babybookie.com/). It's fun to track how many people
     13 are using them, and rather than write yet another Rakefile to generate
     14 reports, I decided to create a simple [Rails
     15 Engine](http://edgeapi.rubyonrails.org/classes/Rails/Engine.html) to
     16 display some basic stats. Announcing, then,
     17 [StatBoard](https://github.com/vigetlabs/stat_board):
     18 
     19 {{<dither screenshot.png>}}Minimalist “StatBoard” dashboard in a browser, showing overall, monthly, and weekly counts for offices, players, users, games, and matches.{{</dither>}}
     20 
     21 Installation is a cinch: add the gem to your Gemfile, mount the app in
     22 `routes.rb`, and set the models to query (full instructions available on
     23 the [GitHub
     24 page](https://github.com/vigetlabs/stat_board#basic-configuration)). The
     25 code itself is embarrassingly simple, so if you have any ideas for
     26 improvements, or just want to see how a simple Rails Engine works, take
     27 a look.