Sha256: 8d0ee04f0ecc38c1fb179346366e8515dedfd8f55de2a896e2532fdfaf54db82

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

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',
		:store => 'mysql',
		:name => 'blog',
		:user => 'root',
		: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.17.0 examples/no_xsl_blog/run.rb