summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-07-11 18:59:20 -0400
committerFranklin Wei <git@fwei.tk>2019-07-11 18:59:20 -0400
commit06fc22697650943e6206d55967a2d202e9de69a4 (patch)
tree2ddae2fb1d11ff57de7e9329e7c2d858f6d1575a
parent4ad6dfeb3063593e717f4491f6fdb1a0dd58e291 (diff)
downloaddcr-06fc22697650943e6206d55967a2d202e9de69a4.zip
dcr-06fc22697650943e6206d55967a2d202e9de69a4.tar.gz
dcr-06fc22697650943e6206d55967a2d202e9de69a4.tar.bz2
dcr-06fc22697650943e6206d55967a2d202e9de69a4.tar.xz
Add README describing script usage
-rw-r--r--java-chaincode/README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/java-chaincode/README.md b/java-chaincode/README.md
new file mode 100644
index 0000000..0c231c0
--- /dev/null
+++ b/java-chaincode/README.md
@@ -0,0 +1,29 @@
+Distributed Container Registry
+==============================
+
+This is the proof-of-concept code for the distributed container
+registry architecture. In here you'll find the DCR chaincode under
+`dcrchaincode/`, as well as several helper scripts to get everything
+running.
+
+To to first-time initialization, run
+
+ ./initialize.sh
+
+Then, to start the network:
+
+ ./start.sh
+
+This gets the containers up and running. Now you can install the
+chaincode. Run:
+
+ ./deploy.sh
+
+This will install and generate a random name for the chaincode and
+write it to a hidden file. Subsequent scripts will use this name to
+reference the chaincode.
+
+To interact with the chaincode:
+
+ ./invoke.sh createIOMT iomtname 10
+ ./invoke.sh getHeader iomtname