Sha256: c82f724cee78209680ba236e90be5cd6100e1b0841c9eca1d76241ae09604505
Contents?: true
Size: 895 Bytes
Versions: 1
Compression:
Stored size: 895 Bytes
Contents
# * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. # $Id$ $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') $DBG = true require 'nitro' require 'glue/validation' require 'og' require 'blog' include N og = Og::Database.new( :address => 'localhost', # :backend => 'mysql', :backend => 'psql', :database => 'blog', :user => 'postgres', :password => 'navelrulez', :connection_count => 3 ) controllers = { :index => BlogController } apis = { :xml => 'text/xml' } dispatcher = Dispatcher.new(controllers, apis) Rendering.shader = N::XSLTShader.new("#{dispatcher.root}/style.xsl", N::RubyShader.new( N::CompressShader.new ) ) Rendering.reload = :partial $conf = { :name => 'Nitro Blog', :host => 'localhost', :port => 8069, :dispatcher => dispatcher, :og => og }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.9.5 | examples/blog/conf/app.conf.rb |