Loading src/dlt/gateway/README.md +16 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
src/dlt/gateway/README.md +16 −0 Original line number Diff line number Diff line Loading @@ -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