/elovation

Simple rails app to track your game results with elo ratings

Primary LanguageRuby

Elovation

Build Status

Elovation was born at Braintree. It's a simple rails app that tracks the results of any two player game and assigns ratings to the players using the Elo rating system.

Deployment

Elovation is optimized for deployment on Heroku. Because the app doesn't provide any authentication or authorization, you can turn on basic auth by setting some environment variables in your heroku app.

heroku config:add BASIC_AUTH=true BASIC_AUTH_USER=username BASIC_AUTH_PASSWORD=password

After pushing the app to heroku, just run the migrations and you're all set.

heroku run rake db:migrate

Notifications

Email notifications are generated for some events. This relies on the heroku SendGrid Add-on. Install sendgrid with:

heroku addons:add sendgrid:starter

Maintenance

The challenge system supports expiring challenges after a period of time. To expire all eligible challenges, access the url /expire_pending_challenges . This should be done regularly with a cron job.