Skip to content

Instantly share code, notes, and snippets.

@mnutt
Created October 5, 2012 04:59
Show Gist options
  • Save mnutt/3838185 to your computer and use it in GitHub Desktop.
Save mnutt/3838185 to your computer and use it in GitHub Desktop.

HUMMINGBIRD DOCS TODO

Running hummingbird locally

  • git clone hummingbird
  • install geoip
  • npm install
  • node server.js

Setting up a server on nodejitsu

  • jitsu signup
  • jitsu deploy

Setting up a custom metric

  • metric types (counter, aggregate, individual)
  • parsing parameters
  • attaching a widget to new metric

Advanced metric writing

  • aggregating data
  • emitting individual hits
  • initial data

Writing a widget

  • channels
  • registering the handler
  • average

Architecture

  • server.js
  • tracker
  • dashboard
  • socket.io
  • widgets

Running the dashboard on a different webserver

  • copy public/
  • copy over socket.io.js and swf

Styling the map widget

  • getting tilemill
  • export to mbtiles
  • extract using mbutil
  • upload to s3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment