railslove / kickerapp

https://www.kicker.cool
25 stars 13 forks source link

Kicker app

A wonderful application to allow your team / company determine who plays best. It features a variation of infamous chess ranking algorithm ELO. The algorithm is changed, as we are allowing team and single player games.

Find a working installation at: http://kicker.cool

Setup development

In order to get a local copy of production data, create a heroku db backup and import it into your local database:

# Optionally log in
heroku login

# Create a new backup
heroku pgbackups:capture --app crawlingcounter

# Download the latest backup
curl -o latest.dump `heroku pgbackups:url --app crawlingcounter`

# Restore data. Optionally: Specify user with '-U myuser'
pg_restore --verbose --clean --no-acl --no-owner -h localhost -d kickerapp_development latest.dump

Restart your rails app and everything should be set.