Sha256: eeebaacd36746ef07d8114d85b2279508d83f17d0a074aabcd9c31be8a599ca9

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

require 'rubygems'
require 'tmpdir'

require 'ramaze'
require 'sequel'
require 'uv'

Ramaze::Log.debug "Initializing UltraViolet..."

Uv.copy_files "xhtml", __DIR__/"public"
Uv.init_syntaxes

UV_PRIORITY_NAMES = %w[ ruby plain_text html css javascript yaml diff ]

STYLE = 'iplastic'

Ramaze::Log.debug "done."

DB_FILE = "#{__DIR__}/rapaste.sqlite" # for specs
DB = Sequel.connect("sqlite://#{DB_FILE}")

require 'model/paste'
require 'controller/paste'

Ramaze.start :adapter => :mongrel, :port => 9952

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
Pistos-ramaze-2008.09 examples/app/rapaste/start.rb
manveru-ramaze-2008.10 examples/app/rapaste/start.rb
ramaze-2008.11 examples/app/rapaste/start.rb