From 90e5ecb0bf1ff5a6c130e3211b91bca5dca55d0c Mon Sep 17 00:00:00 2001 From: Konstantin Munichev <konstantin.munichev@neclab.eu> Date: Tue, 19 Jul 2022 17:12:55 +0200 Subject: [PATCH] Update readme file for DLT component --- src/dlt/gateway/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/dlt/gateway/README.md b/src/dlt/gateway/README.md index 505b1c135..71ae3d5eb 100644 --- a/src/dlt/gateway/README.md +++ b/src/dlt/gateway/README.md @@ -73,3 +73,19 @@ Other proto files don't play any significant role and could be safely ignored by ### Client example This code is not necessary to the service, but it could be used to test the service. It contains a sample gRPC client which connects the service and perform all the CRUD operations. + +# Fabric deployment notes + +## General notes +Current Fabric deployment uses Fabric test network with some additional helping scripts on top of it. +This deployment is highly insecure and *shouldn't be used in production* in any case. +To start the network just run the `raft.sh` from `blockchain/scripts` directory. Use `stop.sh` +when you need to stop the network. + +## Server start preparations +To run the server it's necessary to copy certificate file +`fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem` +to the config folder (replacing the existing one). Also it's necessary to copy `scripts/connection-org1.json` +file (again, replacing the old one). After copying, it must be edited. First, all `localhost` entrances +should be replaced with `teraflow.nlehd.de`. Second, `channel` section at the end of the file should be removed. +This should be done after every restart of the Fabric network. \ No newline at end of file -- GitLab