This is a complete Rails app developed in 48 hours during the 2012 Rails Rumble, in the context of the 48Rails
It implements the classic Guess The Friend game, picking the choices from your recently contacted Facebook friends, getting their details and giving you hints 😄.
Everything is in the RailsRumble aftermath state - so don't expect clean code and full coverage - it is left here just for posterity 😃.
- Clone the repo
- mkdir
log/
- Configure
config/database.yml
usingconfig/database.yml.example
as a template - Run
bundle
- Run
rake db:setup
- Run
rails server
- Create a new facebook app and assign it a domain. Say,
example.com
- Create
config/config.yml
usingconfig/config.example.yml
as a template - Add
127.0.0.1 guesswho.example.com
to your/etc/hosts
(as root) - Go to http://guesswho.example.com:3000/
- Set up
config/deploy.rb
for your server - the current config assumes there's aguesswho
user on it and a process manager keeping anunicorn
up. An exampleupstart
configuration is inconfig/upstart.conf
. - cap deploy
- If you want to deploy another branch, use
cap -S branch=foobar deploy
- Andrea Pavoni @apeacox
- Alessandro Vendruscono @vendruscolo
- Claudio Floreani @ClaudioFloreani
- Marcello Barnaba @vjt