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-0.30.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.17.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.29.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.16.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.28.4 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.28.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.28.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.15.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.27.3 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.27.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.27.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.27.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.14.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.26.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.13.3 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.13.2 lib/generators/social_stream/presence/templates/initializer.rb