Ghost Rider

Ghost Rider lets you race ghost versions of yourself on the CTA, so you can figure out if the route you’re taking actually is faster.

Getting started

  • Clone this repo

  • Sign up for Google maps, CTA bus and CTA train API keys

  • Update the API keys in config/application.rb

  • Run bundle install

  • Run rake db:migrate

  • Run rails s

Create a commute

  • Create a user at /users/sign_up

  • Create a commute at /commutes/new

  • Remember the ID of your commute

  • Get ghost commute directions from google at /commutes/:id/ghosts/fetch

  • Track a set of ghost commutes for a route at /commutes/:id/ghosts/track

  • Wait for a couple hours as the app follows your route

  • See the results at /commutes/:id/reports