mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-14 03:05:59 -04:00
Moved mandrill config to figaro
This commit is contained in:
@@ -18,6 +18,17 @@
|
||||
# name that appears on the site, eg. in page titles
|
||||
GROWSTUFF_SITE_NAME: Growstuff (dev)
|
||||
|
||||
# Mandrill is used to send transactional email (eg. signup
|
||||
# confirmations). If using Heroku connect to Mandrill via Heroku addons
|
||||
# list then go to tools menu (upper right) and choose "SMTP and API
|
||||
# Credentials"
|
||||
GROWSTUFF_MANDRILL_USERNAME: "dummy"
|
||||
GROWSTUFF_MANDRILL_APIKEY: "dummy"
|
||||
|
||||
# Paypal is used for payments, obviously.
|
||||
GROWSTUFF_PAYPAL_USERNAME: "dummy"
|
||||
GROWSTUFF_PAYPAL_PASSWORD: "dummy"
|
||||
GROWSTUFF_PAYPAL_SIGNATURE: "dummy"
|
||||
|
||||
##############################################################################
|
||||
# Other environments (you can override the above for staging,
|
||||
|
||||
@@ -46,11 +46,10 @@ Growstuff::Application.configure do
|
||||
config.action_mailer.smtp_settings = {
|
||||
:port => '587',
|
||||
:address => 'smtp.mandrillapp.com',
|
||||
:user_name => ENV['MANDRILL_USERNAME'],
|
||||
:password => ENV['MANDRILL_APIKEY'],
|
||||
:user_name => ENV['GROWSTUFF_MANDRILL_USERNAME'],
|
||||
:password => ENV['GROWSTUFF_MANDRILL_APIKEY'],
|
||||
:authentication => :login
|
||||
}
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
|
||||
config.host = 'localhost:8080'
|
||||
config.analytics_code = ''
|
||||
|
||||
@@ -72,8 +72,8 @@ Growstuff::Application.configure do
|
||||
config.action_mailer.smtp_settings = {
|
||||
:port => '587',
|
||||
:address => 'smtp.mandrillapp.com',
|
||||
:user_name => ENV['MANDRILL_USERNAME'],
|
||||
:password => ENV['MANDRILL_APIKEY'],
|
||||
:user_name => ENV['GROWSTUFF_MANDRILL_USERNAME'],
|
||||
:password => ENV['GROWSTUFF_MANDRILL_APIKEY'],
|
||||
:domain => 'heroku.com',
|
||||
:authentication => :plain
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ Growstuff::Application.configure do
|
||||
config.action_mailer.smtp_settings = {
|
||||
:port => '587',
|
||||
:address => 'smtp.mandrillapp.com',
|
||||
:user_name => ENV['MANDRILL_USERNAME'],
|
||||
:password => ENV['MANDRILL_APIKEY'],
|
||||
:user_name => ENV['GROWSTUFF_MANDRILL_USERNAME'],
|
||||
:password => ENV['GROWSTUFF_MANDRILL_APIKEY'],
|
||||
:domain => 'heroku.com',
|
||||
:authentication => :plain
|
||||
}
|
||||
|
||||
@@ -26,13 +26,6 @@
|
||||
# don't need to for your dev machine though.)
|
||||
export RAILS_SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
# Mandrill is used to send transactional email (eg. signup
|
||||
# confirmations). If using Heroku connect to Mandrill via Heroku addons
|
||||
# list then go to tools menu (upper right) and choose "SMTP and API
|
||||
# Credentials"
|
||||
export MANDRILL_USERNAME=""
|
||||
export MANDRILL_APIKEY=""
|
||||
|
||||
# Used for connecting member accounts to Twitter
|
||||
# Get Twitter key from https://dev.twitter.com/apps
|
||||
export TWITTER_KEY=""
|
||||
|
||||
Reference in New Issue
Block a user