This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# You should do a find/replace for APPNAME, LOCALDBUSER, and LOCALDBNAME | |
# | |
# via https://devcenter.heroku.com/articles/pgbackups#importing-from-a-backup, https://github.com/heroku/heroku/issues/556 | |
# by: @joeybaker | |
heroku pgbackups:capture --expire --app APPNAME | |
curl -o latest.sql `heroku pgbackups:url --app APPNAME` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'dalton/strategies/skroutz' | |
require 'dalton/strategies/facebook' | |
require 'dalton/strategies/openid' # yahoo, #google | |
require 'dalton/strategies/twitter' | |
# Setup OpenId file storage, don't change the storage engine! | |
require 'openid/store/filesystem' | |
Rails.configuration.middleware.use(Rack::OpenID, | |
OpenID::Store::Filesystem.new(Rails.root + 'tmp/openid')) |