Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

App for collecting band stats, designed to push to Heroku.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
README.markdown

musician_analytics_app

This Rails app is meant to be a quick deploy to Heroku to start gathering free daily stats about your band. Setup is real easy.

The goal of this app is to allow you to see your band's growth patterns across various social networks in one interface. Supported so far:

  • Last.fm
  • Twitter
  • Myspace

Stats gathering is done by my musician_analytics gem. I'd love feedback on both these projects!

Awesome UI by Corey Ehmke (Bantik)!

"It's easy, dummy."

First, clone this repo:

git clone git@github.com:dbalatero/musician_analytics_app.git

Create a Heroku app.

heroku create

Push the app to Heroku and migrate the db.

git push heroku master
heroku rake db:migrate

Setup your config variables.

heroku config:add LASTFM_API_KEY="57493a46a...myapikeyhere"
heroku config:add LASTFM_ARTIST_NAME="Operation ID"
heroku config:add TWITTER_USERNAME="operationid"
heroku config:add MYSPACE_USERNAME="operationid"

Enable free daily cron.

heroku addons:add cron:daily

Navigate to your new Heroku site, and create the shared admin account for your band.

http://my-goofy-subdomain.heroku.com

Gather one data point, to test:

heroku rake cron

Finally, watch this repository and subscribe via RSS so you can get new updates. Also, follow @operationid on Twitter for updates, if you prefer that over RSS.

Todo

  • Make gathering stats on each service optional.
  • Make the stats page not look like dookie. Use Google Graphs?
  • Gather more interesting stats?

Credits / Shameless Promotion

Written by David Balatero contact@opidmusic.com, licensed under MIT. http://opidmusic.com Twitter: @operationid Facebook: http://facebook.com/operationid

Something went wrong with that request. Please try again.