Sha256: 4dbe2db947109e3fe448903a263e1ce5c6e01716dbad395401a5adc589e32497

Contents?: true

Size: 1.45 KB

Versions: 28

Compression:

Stored size: 1.45 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 = ""

end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
social_stream-0.26.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.13.1 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.26.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.13.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.25.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.25.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.25.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.12.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.24.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.24.0 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.11.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.10.3 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.23.4 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.23.3 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.10.2 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.10.1 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.23.2 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-0.23.1 presence/lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.10.0 lib/generators/social_stream/presence/templates/initializer.rb
social_stream-presence-0.9.1 lib/generators/social_stream/presence/templates/initializer.rb