oscars + march = madness
HTML Ruby Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
nominations
public
script
test
vendor/assets
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

## Every year

## Production

  • Push latest json

  • `ruby script/importer.rb`

  • Follow “Every year” instructions (minus parsing)

## Backup/Restore locally

  • `heroku pg:backups capture` (create current backup, but it's automated anyway)

  • `curl -o tmp/backup.dump `heroku pg:backups public-url`

  • `bin/rake db:reset`

## ENV variables

  • OSCARS_FACEBOOK_APP_ID

  • OSCARS_FACEBOOK_APP_SECRET

  • OSCARS_USERNAME, OSCARS_PASSWORD (rails_admin)

## Facebook

  • Setup test app.

  • Use app id and secret as OSCARS_FACEBOOK_APP_ID/OSCARS_FACEBOOK_APP_SECRET.