Sha256: f8158290d8d00ab242b063c554a5e86ea809b389987b82719eb0283a0b7df8b5

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

require 'webrick'
require 'rexml/document'

require File.dirname(__FILE__) + '/../../lib/liquor'
require File.dirname(__FILE__) + '/liquor_servlet'
require File.dirname(__FILE__) + '/example_servlet'

# Setup webrick
server = WEBrick::HTTPServer.new( :Port => ARGV[1] || 3000 )
server.mount('/', Servlet)
trap("INT"){ server.shutdown }
server.start

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
liquor-0.1.1 example/server/server.rb
liquor-0.1.0 example/server/server.rb