Skip to content

Commit

Permalink
Merge pull request #325 from scouttyg/heroku-deploy
Browse files Browse the repository at this point in the history
DEPLOY.md needs a few more tweaks before it can be setup on Heroku
  • Loading branch information
fusion94 committed Apr 10, 2014
2 parents 5d9e4b8 + 0716cb0 commit 031f79f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,25 @@ You'll need to have the [heroku CLI](https://github.com/heroku/heroku) installed
heroku run rake db:migrate kandan:bootstrap && heroku open
echo "Done, go forth and chat!"
# Not too bad

If you want emails to work (forgotten passwords, etc), you'll also need to add a Heroku email add-on to your app. For example, to add SendGrid:

heroku addons:add sendgrid:starter

After you add an email provider to your Heroku app, you'll also need to setup your production.rb file to look similar to this (using SendGrid again as an example):

config.action_mailer.default_url_options = { :host => "yourapp.herokuapp.com" } (Or whatever connected to your heroku app)
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true

config.action_mailer.smtp_settings = {
address: "smtp.sendgrid.net",
port: 25,
domain: "example.com",
authentication: "plain",
user_name: ENV["SENDGRID_USERNAME"],
password: ENV["SENDGRID_PASSWORD"]
}

### Integrate Kandan on Heroku with your Amazon S3_BUCKET ( [Heroku article on AWS S3 to store static assets and file uploads](https://devcenter.heroku.com/articles/s3) ). Run the following line, replacing the the global variable values with your own:

Expand Down

0 comments on commit 031f79f

Please sign in to comment.