Skip to content

System Wide Configurations

IMRasmus edited this page Oct 8, 2012 · 10 revisions

Heroku Needed Plugins

Heroku Needed Plugins

Login applications

Facebook, Gmail, Orkut, Twitter, Yahoo, LinkedIn, GitHub

To configure the login application we need to go to the console (rails -c), and issue the command (Twitter example):

OauthProvider.create :name => 'Twitter', :key => 'myconsumerkey', :secret => 'myconsumersecret', :strategy => 'Twitter', :path => 'twitter'

Payment Gateways

PayPal

To configure paypal we need to go to the console (rails -c), and issue the command:

Configuration.create :name => 'paypal_username', :value => "paypal username"

Configuration.create :name => 'paypal_password', :value => "paypal password"

Configuration.create :name => 'paypal_signature', :value => "paypal signature"

MoIp (only in Brazil)

To configure moip we need to go to the console (rails -c), and issue the command:

Configuration.create :name => 'moip_token', :value => "HF3IVWEN...."

File/image storage

Amazon S3

To configure Amazon S3 we need to go to the console (rails -c), and issue the command:

Configuration.create :name => 'aws_access_key', :value => "S3 access key"

Configuration.create :name => 'aws_secret_key', :value => "S3 secret key"

Configuration.create :name => 'aws_bucket', :value => "S3 bucket name"

Mail delivery

Mailee - Newsletter

To configure Mailee we need to go to the console (rails -c), and issue the command:

Configuration.create :name => 'mailee', :value => "mailee api url"

SendGrid - Transactional emails

To configure SendGrid need to go to the console (rails -c), and issue the command:

Configuration.create :name => 'sendgrid', :value => "sendgrid key"

Then open the file "catarse/app/config/initializers/sendgrid.rb", and change the user_name.

Analysis & Feedback

UserVoice - Feedback & Online Help Desk analysis

To configure UserVoice open the file "catarse/app/views/layouts/_uservoice.html.haml", and change the key, host and forum.

Google Analytics - Site visits analysis

To configure Google Analytics open the file "catarse/app/views/layouts/_analytics.html.haml", and change _setAccount value.

Other external integrations

Gravatar - Globally Recognized Avatar (nothing to Do!?)