Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Update README.md #61

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions LFS171x/fabric-material/tuna-app/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
## Hyperledger Fabric Sample Application
## Hyperledger Fabric Sample Application (Tuna App)

This application demonstrates the creation and transfer of tuna fish shipments between actors leveraging Hyperledger Fabric in the supply chain. In this exercise we will set up the minimum number of nodes required to develop chaincode. It has a single peer and a single organization.
This application demonstrates the creation and transfer of tuna fish shipments between actors leveraging Hyperledger Fabric in the supply chain. In this exercise we will set up the minimum number of nodes required to develop chaincode. It has a single peer and a single organization.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't want the initial indentation. This makes this not look right when viewing the README.


## Installation

1. Start the Fabric network ``./startFabric.sh``

2. Install the npm packages ``npm install``

3. Register the Admin ``node registerAdmin.js``

4. Register the User ``node registerUser.js``

5. Run the server ``node server.js``

6. View at browser ``localhost:8000``

if getting error about running ./startFabric.sh permission
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be worthwhile to move this troubleshooting information (lines 19-21) so that it exists under bullet point 1.


chmod a+x startFabric.sh
``chmod a+x startFabric.sh``

This code is based on code written by the Hyperledger Fabric community. Source code can be found here: (https://github.com/hyperledger/fabric-samples).