GeoRSS aggregator and Layar augmented reality server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

84 lignes
2.9 KiB

  1. Apollo::Application.configure do
  2. # Settings specified here will take precedence over those in config/application.rb
  3. config.action_mailer.default_url_options = { :host => 'tal-apollo-staging.herokuapp.com' }
  4. # SendGrid config for Heroku Cedar stack
  5. ActionMailer::Base.smtp_settings = {
  6. :address => 'smtp.sendgrid.net',
  7. :port => '587',
  8. :authentication => :plain,
  9. :user_name => ENV['SENDGRID_USERNAME'],
  10. :password => ENV['SENDGRID_PASSWORD'],
  11. :domain => 'heroku.com',
  12. :enable_starttls_auto => true
  13. }
  14. # Code is not reloaded between requests
  15. config.cache_classes = true
  16. # Full error reports are disabled and caching is turned on
  17. config.consider_all_requests_local = false
  18. config.action_controller.perform_caching = true
  19. # Disable Rails's static asset server (Apache or nginx will already do this)
  20. config.serve_static_assets = false
  21. # Compress JavaScripts and CSS
  22. config.assets.compress = true
  23. # Don't fallback to assets pipeline if a precompiled asset is missed
  24. config.assets.compile = false
  25. # Generate digests for assets URLs
  26. config.assets.digest = true
  27. # Defaults to nil and saved in location specified by config.assets.prefix
  28. # config.assets.manifest = YOUR_PATH
  29. # Specifies the header that your server uses for sending files
  30. # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
  31. # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
  32. # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
  33. # config.force_ssl = true
  34. # See everything in the log (default is :info)
  35. # config.log_level = :debug
  36. config.logger = Logger.new(STDOUT)
  37. config.logger.level = Logger::DEBUG
  38. # Prepend all log lines with the following tags
  39. # config.log_tags = [ :subdomain, :uuid ]
  40. # Use a different logger for distributed setups
  41. # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
  42. # Use a different cache store in production
  43. # config.cache_store = :mem_cache_store
  44. # Enable serving of images, stylesheets, and JavaScripts from an asset server
  45. # config.action_controller.asset_host = "http://assets.example.com"
  46. # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
  47. # config.assets.precompile += %w( search.js )
  48. # Disable delivery errors, bad email addresses will be ignored
  49. # config.action_mailer.raise_delivery_errors = false
  50. # Enable threaded mode
  51. # config.threadsafe!
  52. # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
  53. # the I18n.default_locale when a translation can not be found)
  54. config.i18n.fallbacks = true
  55. # Send deprecation notices to registered listeners
  56. config.active_support.deprecation = :notify
  57. # Workless
  58. config.after_initialize do
  59. Delayed::Job.scaler = :heroku_cedar
  60. end
  61. end