Sha256: 79a1f5b207d7acdd5912214d7f395c999dbacbc1e07ab3164739a9260966f07b

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

# Run with: rackup danthes.ru -s thin -E production
require "bundler/setup"
require "yaml"
require "faye"
require "danthes"
require "thin"

Danthes.load_config(File.expand_path("../config/danthes.yml", __FILE__))
Faye::WebSocket.load_adapter(Danthes.config[:adapter])

path = File.expand_path("../config/danthes_redis.yml", __FILE__)
if File.exist?(path)
  Danthes.load_redis_config(path)
end

run Danthes.faye_app

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danthes-1.0.5 lib/generators/templates/danthes.ru
danthes-1.0.4 lib/generators/templates/danthes.ru