public
Description: A new revision of Fuzed, the Erlang-based frontend for web apps. Check out the mailing list at http://groups.google.com/group/fuzed
Clone URL: git://github.com/KirinDave/fuzed.git
fuzed / test / commands.txt
100644 26 lines (14 sloc) 0.74 kb
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
tom
---
 
bin/fuzed start -n master@volcano.local
 
bin/fuzed frontend -z volcano.local -r test/app/public -s 'kind=rails' -n f1@volcano.local -j api
 
bin/fuzed rails -z volcano.local --rails-root=test/app -n n1@volcano.local
 
bin/fuzed join -z volcano.local -n calcnodes@volcano.local -f rlibs/adder_node.rb -r api
 
curl -d '{"method":"add", "params":{"arg1":2, "arg2":2}}' http://localhost:8080/api
 
 
dave
----
 
bin/fuzed start -n master@chisai.local
 
bin/fuzed frontend -z chisai.local -r test/app/public -s 'kind=rails' -n f1@chisai.local
                   -a '[{"api", api_responder, fake}]'
 
bin/fuzed rails -z chisai.local --rails-root=test/app -n n1@chisai.local
 
curl -d '{"method":"woot", "params":{}}' http://localhost:8080/api