Browse Source

A small fix

development
Godwin 11 years ago
parent
commit
18b0cd72be
  1. 15
      config/environments/production.rb
  2. 1
      lib/tasks/regenerate.rake

15
config/environments/production.rb

@ -83,4 +83,19 @@ BikeBike::Application.configure do
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => 'mail.bikebike.org',
:domain => 'bikebike.org',
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true,
:openssl_verify_mode => 'none',
:user_name => 'info@bikebike.org',
:password => 'NewOrleans@)!#'
}
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
end

1
lib/tasks/regenerate.rake

@ -3,6 +3,7 @@ namespace :regenerate do
task conference_posters: :environment do
Conference.all.each {|m| m.poster.recreate_versions!}
puts Conference.all.to_json.to_s
end
task organization_avatars: :environment do

Loading…
Cancel
Save