diff options
author | tv <tv@iiso> | 2011-09-15 00:29:46 +0200 |
---|---|---|
committer | tv <tv@iiso> | 2011-09-15 00:29:46 +0200 |
commit | 90be8b346c43da2b36c0b4872fcf1190cfaeaa85 (patch) | |
tree | 4e72472762529bcb77815ab4100b0ea339c1b110 /hyper | |
parent | 6a6ab5406787dd11f24e1ae9d76ead16185866b4 (diff) |
//hyper README: initial commit
Diffstat (limited to 'hyper')
-rw-r--r-- | hyper/README.md | 15 | ||||
-rw-r--r-- | hyper/process/test/bc.json | 11 |
2 files changed, 26 insertions, 0 deletions
diff --git a/hyper/README.md b/hyper/README.md new file mode 100644 index 00000000..07fa1de5 --- /dev/null +++ b/hyper/README.md @@ -0,0 +1,15 @@ +# Overview + +## start conductor on port 8888 and sink on 1337 + + //hyper/process/main + //bin/node //hyper/sink + +## create bc process and retrieve it's process id (AKA {path}) + + url=http://localhost:8888 + curl -fvsS --data-binary @//hyper/process/test/bc.json $url/proc + +## send data for calculation + + echo 9000+2^42 | curl -fvsS --data-binary @- $url/{path} diff --git a/hyper/process/test/bc.json b/hyper/process/test/bc.json new file mode 100644 index 00000000..5b3b0721 --- /dev/null +++ b/hyper/process/test/bc.json @@ -0,0 +1,11 @@ +{ + "path": "/usr/bin/bc", + "argv": [ + "bc" + ], + "envp": { + "was": "geht" + }, + "stdout": "http://127.0.0.1:1337/", + "stderr": "http://127.0.0.1:1337/" +} |