This is the simple application that we're using to build the CFP platfrom for Euruko 2013. It's simple purpose is to collect talk proposals, and try to channel feedback and suggestions on those proposals into useful forms.
This app is build on top of Ruby Manor 3 original Vestibule app and we thank them for that!
COOKIE_SECRET
with a lengthy keyrake
rails server
You should be ready :)
Github:
http://localhost:3000
if it's for your dev environment)<base_url>/auth/github/callback
(so for this example it would be http://localhost:3000/auth/github/callback
)GITHUB_KEY
and the GITHUB_SECRET
to the Client ID
and the Client Secret
respectivelyheroku config:add GITHUB_KEY=<the Client ID>
and heroku config:add GITHUB_SECRET=<the Client Secret>
Twitter:
<base_url>/auth/twitter/callback
(so for this example it would be http://localhost:3000/auth/twitter/callback
)TWITTER_KEY
and the TWITTER_SECRET
to the Consumer key
and the Consumer secret
respectivelyheroku config:add TWITTER_KEY=<the Consumer key>
and heroku config:add TWITTER_SECRET=<the Consumer secret>
Google:
Nothing to do, it should just work :)
Facebook:
Site URL
to <base_url>/auth/facebook/callback
(so for this example it would be http://localhost:3000/auth/facebook/callback
)FACEBOOK_KEY
and the FACEBOOK_SECRET
to the App ID
and the App Secret
respectivelyheroku config:add FACEBOOK_KEY=<the App ID>
and heroku config:add FACEBOOK_SECRET=<the App Secret>
heroku login
heroku create
heroku addons:add newrelic:standard
rake release
heroku open
For more info, checkout the official heroku guide
There are two ways to send emails out of the box: Gmail and Mandrill. The first is pretty much ubiquitous, the latter is the easiest to setup on Heroku. In any case you have to set first the following environment variables:
DEFAULT_MAILER_HOST
which will be used as the :host
option for the action_mailer.default_url_options
SMTP_DOMAIN
which will be used as the :domain
option for the action_mailer.smtp_settings
Setup Gmail
Set up the additional two environment variables:
GMAIL_SMTP_USER
GMAIL_SMTP_PASSWORD
Setup Mandrill
Just add the Mandrill Heroku Addon and you should be ready to go.
Keep in mind that this will work only on production environment.
Sign up for a free account bugsnag account and set the appropriate env variable: heroku config:add BUGSNAG_API_KEY=XXXXXXXXXXXXXXXXXXXXXX
Contact @nikosd
Fork, patch, test, send a pull request.