mirror of
https://github.com/faye/faye-websocket-ruby.git
synced 2025-11-01 13:59:13 +00:00
13 lines
324 B
Ruby
13 lines
324 B
Ruby
# Run using your favourite server:
|
|
#
|
|
# thin start -R examples/config.ru -p 7000
|
|
# rainbows -c examples/rainbows.conf -E production examples/config.ru -p 7000
|
|
|
|
require 'bundler/setup'
|
|
require File.expand_path('../app', __FILE__)
|
|
|
|
Faye::WebSocket.load_adapter('thin')
|
|
Faye::WebSocket.load_adapter('rainbows')
|
|
|
|
run App
|