Sha256: 1852254926fb73dae3463b02e10a00e2dd73182b930493607e7141ffc2aa6aef

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 Bytes

Contents

module <%= @name %>

  module Configurations

    class Production < Default

      database :host => 'localhost', :adapter => 'mysql', :database => '<%= @name.downcase %>',
        :user => 'root', :password => ''

      reloadable []

      log :level => :error,
        :output => ( :log / "waves.#{$$}" ),
        :rotation => :weekly

      host '0.0.0.0'

      port 80

      application do
        use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/favicon.ico' ], :root => 'public'
        run ::Waves::Dispatchers::Default.new
      end
      
      server Waves::Servers::Mongrel

    end
  end
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
dyoder-waves-0.8.0 templates/classic/configurations/production.rb.erb
waves-edge-2009.03.10.13.14 templates/classic/configurations/production.rb.erb
waves-stable-2009.3.10 templates/classic/configurations/production.rb.erb
waves-0.8.2 templates/classic/configurations/production.rb.erb
waves-0.8.0 templates/classic/configurations/production.rb.erb
waves-0.8.1 templates/classic/configurations/production.rb.erb