Sha256: a53f240ee12e1e1600570a6ad37a05d4718d58c32843824ab3dcae1598e530b8

Contents?: true

Size: 1.55 KB

Versions: 56

Compression:

Stored size: 1.55 KB

Contents

SocialStream::Presence.setup do |config| 
  #Configures Web Server Domain served by XMPP Server
  config.domain = "localhost"
  #Configures Bosh Service Path
  #config.bosh_service = "http://xmpp-proxy/http-bind"
  #Configures Authentication Method: "cookie" or "password"
  config.auth_method = "cookie"
  #Configures XMPP Server Password
  config.xmpp_server_password = <%= SecureRandom.hex(16).inspect %>
  #Uncomment to enable REST API Security
  #config.secure_rest_api = true
  #Remote or local mode
  config.remote_xmpp_server = false
  #Scripts path to execute ejabberd scripts: local or remote
  config.scripts_path = "/scripts_path"
  #Ejabberd module path in the xmpp server
  config.ejabberd_module_path = "/usr/lib/ejabberd/ebin"
  #Uncomment to enable Social Stream Presence
  #config.enable = true
  
  #Parameters for remote mode
  #SSH Login
  #config.ssh_domain = "domain"
  #config.ssh_user = "login"
  #Comment to allow SSH authentication with key instead of password
  #config.ssh_password= "password"

  #Configure to use a Xmpp Client on Rails App
  #Username of the the Social Stream Admin sid
  config.social_stream_presence_username = "social_stream-presence"
  #Configures Social Stream Rails App Password
  config.password = <%= SecureRandom.hex(32).inspect %>
  
  #OpenTok settings (Only for videochat)
  #Replace with your OpenTok API key.
  #config.opentok_api_key = ""
  #Replace with your OpenTok API secret.
  #config.opentok_api_secret = ""
  
  #Multiplayer Games Service
  #Uncomment to enable Multiplayer Games Service
  #config.games = true

end

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
social_stream-2.2.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-2.2.1 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.2.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.2.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-2.2.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.1.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-1.1.12 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.1.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-2.1.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.0.4 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-2.0.2 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.0.3 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-1.1.11 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-1.1.10 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-1.1.9 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-1.1.8 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.0.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-2.0.1 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.0.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-2.0.0 presence/lib/generators/social_stream/presence/templates/initializer.rb