Skip to content

Commit

Permalink
[FAB-16681] Fix inconsistencies in the fabcar tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
  • Loading branch information
NIKHIL E GUPTA authored and mastersingh24 committed Feb 7, 2020
1 parent 46daf02 commit b27a7c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/write_first_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Enrolling the admin user
.. note:: The following two sections involve communication with the Certificate
Authority. You may find it useful to stream the CA logs when running
the upcoming programs by opening a new terminal shell and running
``docker logs -f ca.example.com``.
``docker logs -f ca_peerOrg1``.

When we created the network, an admin user --- literally called ``admin`` ---
was created as the **registrar** for the certificate authority (CA). Our first
Expand Down Expand Up @@ -271,11 +271,11 @@ The application connects to the network using a gateway:
This code creates a new gateway and then uses it to connect the application to
the network. ``ccp`` describes the network that the gateway will access with the
identity ``user1`` from ``wallet``. See how the ``ccp`` has been loaded from
``../../basic-network/connection.json`` and parsed as a JSON file:
``../../first-network/connection-org1.json`` and parsed as a JSON file:
.. code:: bash
const ccpPath = path.resolve(__dirname, '..', '..', 'basic-network', 'connection.json');
const ccpPath = path.resolve(__dirname, '..', '..', 'first-network', 'connection-org1.json');
const ccpJSON = fs.readFileSync(ccpPath, 'utf8');
const ccp = JSON.parse(ccpJSON);
Expand Down

0 comments on commit b27a7c7

Please sign in to comment.