summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9d43e3f..ea73baa 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,21 @@
# ZeroRPC Test
A simple test to get ZeroRPC for Python running on Heroku.
+
+## Local Dev
+
+### Server
+
+```bash
+$ python server.py
+```
+
+### Client
+```bash
+$ zerorpc -j tcp://localhost:4242 add_42 1
+43
+$ zerorpc tcp://localhost:4242 add_man 'I own a mint-condition Volkswagen Golf'
+"I own a mint-condition Volkswagen Golf, man!"
+$ zerorpc tcp://localhost:4242 boat 'I own a mint-condition Volkswagen Golf, man!'
+"I'm on a boat!"
+```