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

Commit

Permalink
Properly explain what is "getting-started" in main README and correct…
Browse files Browse the repository at this point in the history
… 'info.js' instruction (#81)

* Running info.js instruction requires a [prior] npm install

If a user comes straight to the Digital Property app and runs, what is, an OPTIONAL step to see info about all the Sample Applications in the repo, then npm install must be run (at sample-applications level) before running the 'node info.js' step. Put in the word OPTIONAL, because they user can skip the step and go straight to deploying the sample digital property app. Also, the node info steps should be added back to the main README for sample-applications (will do so next)

* Updated README.md to better explain 'getting started'

Added that Digital Property app is the 'getting-started' app (otherwise not that clear) and also add in the 'info.js'  instruction which was buried in digitalproperty-app previously (but belongs here)
  • Loading branch information
Paul O'M authored and nklincoln committed Aug 17, 2017
1 parent 56c6091 commit be39bd9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@

The repository contains sample applications written against the [Hyperledger Composer](https://hyperledger.github.io/composer/)

Currently this contains the code and scripts for the ['DigitalProperty-App'](./packages/digitalproperty-app/README.md) tutorial.
Currently this contains the code and scripts for the ['DigitalProperty-App'](./packages/digitalproperty-app/README.md) tutorial - see the README in that directory for instructions on how to install.

To install this repo and find out more about the sample applications, run (from this directory):
```
npm install
node info.js
```


We welcome Pull Requests for new applications - please see the [contributing notes](https://github.com/hyperledger/composer/blob/master/CONTRIBUTING.md).

*IMPORTANT NOTE* The Getting Started application is the main route for people to get started with Hyperledger Composer - please exercise care when changing it!
*IMPORTANT NOTE* The Digital Property ("getting-started") sample CLI-based application is the main route for people to get started with Hyperledger Composer - please exercise care when changing it!
5 changes: 2 additions & 3 deletions packages/digitalproperty-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ This diagram should to clarify the order in which the scripts can be run.
![](CmdOrder.png).


# Step 2: Getting the Hyperledger Composer sample application (digital property sample) up and running
# Step 2: Getting the Hyperledger Composer sample application (the Digital Property CLI sample application) up and running

0. Make sure you've started Fabric as in Step 1 above. For example, If this is your first time for example

Expand All @@ -113,8 +113,7 @@ $ cd composer-sample-applications
$
```

To see a summary of all the sample applications, there's a simple command that will show summary details of the applications
A useful information node.js script has been created to show the available sample applications
OPTIONAL: To see a summary of all the sample applications, there's a simple command that will show summary details of the sample applications available in this repository. A useful information node.js script has been created to show the available sample applications - note you will need to run `npm install` from the current directory (takes about 5-10 mins) before running this command.
```
$ node ~/github/composer-sample-applications/info.js
```
Expand Down

0 comments on commit be39bd9

Please sign in to comment.