Sha256: 0a032b67ac5b4b83b9116fb9b674afba9cf80c0abb4d58dc09def1aff13afdb4
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
# * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. # $Id: run.rb 21 2005-04-15 15:41:20Z gmosx $ require 'nitro' require 'og' require 'nitro/localization' require 'lib/blog' include Nitro Nitro.run do |conf| Localization.add( :en => 'conf/locales/en.yml', :de => 'conf/locales/de.yml' ) Og.connect( # :address => 'localhost', :adapter => 'mysql', # :backend => 'psql', :database => 'blog', :user => 'root', :password => 'navelrulez' # :user => 'postgres', # :password => 'navelrulez', ) conf.dispatcher = Dispatcher.new( :root => BlogController, 'xml' => XmlController ) Rendering.shader = LocalizationShader.new(RubyShader.new(CompressShader.new)) conf = Conf.new( :name => 'Blog sans XSLT', :host => '127.0.0.1', :port => 9999 ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.16.0 | examples/no_xsl_blog/run.rb |