Sha256: 9480a397eea86e684602308f9d1d56fea8dc8e31f41364db3c42bedddfedc524

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

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

::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

4 entries across 4 versions & 2 rubygems

Version Path
edmond-danthes-2.1.1 lib/generators/templates/danthes.ru
edmond-danthes-2.1.0 lib/generators/templates/danthes.ru
danthes-2.0.1 lib/generators/templates/danthes.ru
danthes-2.0.0 lib/generators/templates/danthes.ru