Skip to content

bhatti/FQPubSub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preprocessing
  replace <paraclete.local> with your <host-name> in docroot/index.html and src/quote_utils.hrl

Building
  git submodule init
  git submodule update
  make

Start Ejabberd, e.g.
  sudo /Applications/ejabberd-2.1.3/bin/ejabberdctl start
  sudo /Applications/ejabberd-2.1.3/bin/ejabberdctl register producer <hostname> producer
  sudo /Applications/ejabberd-2.1.3/bin/ejabberdctl register consumer <hostname> consumer


Browser Admin
  http://<hostname>:5280/admin

Install PSI for debugging


Running
  erl -pa ebin deps/exmpp/ebin/ deps/lhttpc/ebin/ deps/yaws/ebin -boot start_sasl -run web_server start 
  erl -pa ebin deps/exmpp/ebin/ deps/lhttpc/ebin/ deps/yaws/ebin -boot start_sasl -run quote_publisher start AAPL
  erl -pa ebin deps/exmpp/ebin/ deps/lhttpc/ebin/ deps/yaws/ebin -boot start_sasl -run web_server start -run init stop -noshell
  erl -pa ebin deps/exmpp/ebin/ deps/lhttpc/ebin/ deps/yaws/ebin -boot start_sasl
  quote_publisher:start("AAPL").

About

PubSub based Financial Quotes using Erlang, XMPP, Ejabberd and Bosh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published