Sha256: 46b998c0001426e4ebedc948eba7fee52ffbf3ec960deee9a6d3816ea8d0047e

Contents?: true

Size: 759 Bytes

Versions: 3

Compression:

Stored size: 759 Bytes

Contents

Yodel.config.define do |config|
  # mongo
  config.database_hostname  = '<%= database_hostname %>'
  config.database_port      = <%= database_port %>
  config.database           = '<%= database_name %>'

  # yodel
  config.session_key        = 'yodel.session'
  config.session_secret     = 'yodel.session'
  config.sites_root         = '<%= sites_root %>'
  
  # environment
  config.dns_port           = <%= dns_port %>
  config.git_path           = `which git`.strip
  config.public_directory   = '<%= public_directory %>'
  config.deploy_command     = 'yodel'

  # logging
  config.logger             = Logger.new('/var/log/yodel.log')
  config.sev_threshold      = Logger::INFO
end

Yodel.env.production!

Mail.defaults do
  delivery_method :sendmail
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yodel-0.0.3 system/usr/local/etc/yodel/production_settings.rb
yodel-0.0.2 system/usr/local/etc/yodel/production_settings.rb
yodel-0.0.1 system/usr/local/etc/yodel/production_settings.rb