Sha256: 15f9c41e1e49a0f2287d9958b93586cfc565eb57bdbaff002c103cd7f10329e4

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

#!/usr/bin/ruby
require 'rubygems'
gem 'cpee', '~>1.5'
require 'cpee/implementation'

Riddl::Server.new(CPEE::SERVER, :host => 'localhost', :port => 8298) do |opts|
  opts[:instances]          = File.join(__dir__,'instances')
  opts[:handlerwrappers]    = File.join(__dir__,'handlerwrappers')
  opts[:notifications_init] = File.join(__dir__,'resources','notifications')
  opts[:properties_init]    = File.join(__dir__,'resources','properties.init')

  accessible_description true
  cross_site_xhr true

  use CPEE::implementation(opts)
end.loop!

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cpee-1.5.27 tools/server/server.rb
cpee-1.5.26 tools/server/server.rb
cpee-1.5.25 tools/server/server.rb