Sha256: eecd193ff08199bc686767c16b0e834dcc0909adc33dc3ca5bc03f7b6e7af1e7
Contents?: true
Size: 759 Bytes
Versions: 1
Compression:
Stored size: 759 Bytes
Contents
# * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. # $Id: run.rb 260 2005-02-15 08:58:04Z gmosx $ Dir.chdir File.dirname(__FILE__) require 'nitro'; include N require 'og' require 'lib/blog' runner = Runner.new.setup db = Og::Database.new( # :address => 'localhost', :adapter => 'mysql', # :backend => 'psql', :database => 'blog', :user => 'root', :password => 'navelrulez', # :user => 'postgres', # :password => 'navelrulez', :connection_count => 3 ) dispatcher = Dispatcher.new(BlogController, :xml => 'text/xml') Rendering.shader = RubyShader.new(CompressShader.new) conf = Conf.new( :name => 'Blog sans XSLT', :host => 'localhost', :port => 8069, :dispatcher => dispatcher, :db => db ) runner.run(conf)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.10.0 | examples/no_xsl_blog/run.rb |