Skip to content
This repository was archived by the owner on Jan 22, 2020. It is now read-only.
Open
Changes from all 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
22 changes: 19 additions & 3 deletions LFS171x/fabric-material/tuna-app/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
## 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.

if getting error about running ./startFabric.sh permission
## Installation

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


**NOTE:** if getting error about running ./startFabric.sh permission try:

``chmod a+x 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``

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).