community engine, S3, Heroku

1) clone the source code from

2) build and deploye to heroku

3) add addon sendgrid to your application
4)made necessary changes in application_config.rb


:app_host => ‘your hostname’,
:community_name => “your community name”,
:s3_credentials => {
:access_key_id => ENV[“S3_KEY”],
:secret_access_key => ENV[“S3_SECRET”]
:bucket => ENV[‘S3_BUCKET’],

5) add following too application_config.rb

:s3_protocol=> “https”,
:default_url=> “:attachment/:id_:style.:extension”,
:support_email => “”,

6) add configure values

heroku config:set S3_KEY=”your key”
heroku config:set S3_SECRET=”your secret”
heroku config:set S3_BUCKET=”your bucket”

This entry was posted in ruby on rails and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s