-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
26 lines (19 loc) · 977 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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").