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

Commit 87cf303

Browse files
author
Simon Stone
authored
Merge branch 'master' into master
2 parents aae94e0 + 415fc2b commit 87cf303

File tree

9 files changed

+30
-26
lines changed

9 files changed

+30
-26
lines changed

packages/composer-website/jekylldocs/_includes/sidebars/integrating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**[Defining Business Networks](../business-network/businessnetwork.html)**
55
**[Writing Applications](../applications/genapp.html)**
66
**[Integrating Existing Systems](../integrating/integrating-index.html)**
7-
[Using Loopback to generate a REST API for your business network](../integrating/getting-started0rest-api.html)
7+
[Using Loopback to generate a REST API for your business network](../integrating/getting-started-rest-api.html)
88
**[Managing and Operating](../managing/participant-add.html)**
99
**[Determining Problems](../problems/diagnostics.html)**
1010
**[Reference](../reference/MeetTheModules.html)**

packages/composer-website/jekylldocs/_includes/sidebars/tutorials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
**[Introduction](../introduction/introduction.html)**
22
**[Tutorials](../tutorials/tutorialindex.html)**
33
[Tutorial 1: Building your first business network](../tutorials/defining-a-business-network.html)
4-
[Getting started with the command line](../tutorial/getting-started-cmd-line.html)
4+
[Getting started with the command line](../tutorials/getting-started-cmd-line.html)
55
[Getting started with the playground](../tutorials/getting-started-playground.html)
66
**[Installing](../installing/prerequisites.html)**
77
**[Defining Business Networks](../business-network/businessnetwork.html)**

packages/composer-website/jekylldocs/assets/css/new-style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/composer-website/jekylldocs/assets/css/new-style.scss

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -317,19 +317,19 @@ li {
317317
color: $primary-text;
318318
}
319319

320-
.navbar-inverse .navbar-nav > li > a {
321-
color: $primary-text;
322-
&:hover {
323-
color: $primary-text;
324-
}
325-
}
326-
327-
.navbar-inverse .navbar-brand {
328-
color: $primary-text;
329-
&:hover {
330-
color: $primary-text;
331-
}
332-
}
320+
// .navbar-inverse .navbar-nav > li > a {
321+
// color: $primary-text;
322+
// &:hover {
323+
// color: $primary-text;
324+
// }
325+
// }
326+
//
327+
// .navbar-inverse .navbar-brand {
328+
// color: $primary-text;
329+
// &:hover {
330+
// color: $primary-text;
331+
// }
332+
// }
333333

334334
.navbar-fixed-top {
335335
border: none;

packages/composer-website/jekylldocs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>Build Hyperledger Fabric applications and business networks your way</h1>
3434
<div class="trio-left">
3535
<img src="assets/img/Abstract.png"/>
3636
<h2>Really simple models</h2>
37-
<p>Define a business network in our purpose-bulit modelling language, and script trasactions in Javascript: the most popular language on the planet.</p>
37+
<p>Define a business network in our purpose-built modelling language, and script transactions in Javascript: the most popular language on the planet.</p>
3838
</div>
3939
<div class="trio-center">
4040
<img src="assets/img/Quick_POC_2.png"/>

packages/composer-website/jekylldocs/tutorials/defining-a-business-network.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Defining a business network is the entry point to any {{site.data.conrefs.fabric
1919
Before beginning this tutorial you will need:
2020

2121
* A GitHub account
22+
* If you want to run this tutorial locally, see [Installing and running the {{site.data.conrefs.composer_full}} Playground locally](../tutorials/getting-started-playground.html).
2223

2324
---
2425

@@ -36,6 +37,7 @@ which controls the transactions, in this script file, there is JavaScript logic
3637
1. To get a better understanding of how business network definitions work in practise, click the **Test** tab at the top. From this screen, we can create assets and participants, and submit transactions.
3738

3839
2. To start with, add a *Member* participant by clicking **Member** then clicking **Create New Participant**. Enter the balance, email, and name credentials for the new participant in the following format, then click **Create New**. The credentials which are required for each participant are defined in the `.cto` file viewable in the **Define** tab.
40+
3941
```
4042
{
4143
"$class": "org.acme.vehicle.auction.Member",
@@ -61,6 +63,7 @@ which controls the transactions, in this script file, there is JavaScript logic
6163
```
6264

6365
6. Next, to sell the car at auction, an auction listing asset must be created. Assets can be any tangible or intangible goods or services, in this case, the auction listing itself. To create the auction listing, click **VehicleListing** then click **Create New Asset**. The *VehicleListing* requires several properties, and should have the following format:
66+
6467
```
6568
{
6669
"$class": "org.acme.vehicle.auction.VehicleListing",
@@ -76,6 +79,7 @@ which controls the transactions, in this script file, there is JavaScript logic
7679
### Running the auction
7780

7881
1. Now that you have *Members* to own and bid on an asset, an *Auctioneer*, a *Vehicle* asset with registered ownership, and a *VehicleListing* asset to track the bids, reserve price, and state of the auction. The next step is to begin using transactions to interact with assets. This sample includes the *Offer* and *CloseBidding* transactions. Transactions, combined with assets and participants, make up the economic model of a business network. Transactions can modify, transfer, or otherwise alter assets, as in this sample, where transactions allow participants to place bids or allow the auctioneer to close the auction. Placing a bid uses the *Offer* transaction. To submit a transaction, click the **Submit Transaction** button. In the dialog box, use the dropdown to select the *Offer* transaction type. The *Offer* transaction requires a number of properties and should have the following format:
82+
7983
```
8084
{
8185
"$class": "org.acme.vehicle.auction.Offer",

packages/composer-website/jekylldocs/applications/docker-compose.yml renamed to packages/composer-website/jekylldocs/tutorials/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
volumes:
3232
- /var/run/docker.sock:/var/run/docker.sock
3333
composer:
34-
image: fabriccomposer/composer-ui
34+
image: fabriccomposer/composer-playground
3535
ports:
3636
- '8080:8080'
3737
links:

packages/composer-website/jekylldocs/tutorials/getting-started-playground.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,17 @@ In order to install Fabric Composer Playground with npm, you need the following
173173
You can install Fabric Composer Playground by running the following command in your terminal or command prompt:
174174
175175
```
176-
sudo npm install -g composer-ui
176+
sudo npm install -g composer-playground
177177
```
178178
179179
You should see the following output in your terminal or command prompt:
180180
181181
```
182-
$ sudo npm install -g composer-ui
182+
$ sudo npm install -g composer-playground
183183
...
184-
/usr/local/bin/composer-ui -> /usr/local/lib/node_modules/composer-ui/cli.js
184+
/usr/local/bin/composer-playground -> /usr/local/lib/node_modules/composer-playground/cli.js
185185
/usr/local/lib/node_modules
186-
└─┬ composer-ui@0.4.3
186+
└─┬ composer-playground@0.4.3
187187
...
188188
```
189189
@@ -192,7 +192,7 @@ Verify that no errors occurred. If any part of this process fails, then Fabric C
192192
You can then start Fabric Composer Playground by running the following command in your terminal or command prompt:
193193
194194
```
195-
composer-ui
195+
composer-playground
196196
```
197197
198198
A web browser will be automatically opened once the playground has started, but should that not happen you should be able to access Fabric Composer Playground by clicking on this link: <a href="http://localhost:8080" target="_blank">http://<span></span>localhost:8080</a>
@@ -227,13 +227,13 @@ In order to install Fabric Composer Playground with Docker, you need the followi
227227
You can install Fabric Composer Playground by running the following Docker command in your terminal or command prompt:
228228
229229
```
230-
docker run -d -p 8080:8080 fabriccomposer/composer-ui
230+
docker run -d -p 8080:8080 fabriccomposer/composer-playground
231231
```
232232
233233
You should see the following output in your terminal or command prompt:
234234
235235
```
236-
$ docker run -d -p 8080:8080 fabriccomposer/composer-ui
236+
$ docker run -d -p 8080:8080 fabriccomposer/composer-playground
237237
afd1baff0487de5c69626b8baea69c702744f92813043e3d2b0ef786c7f77517
238238
```
239239

packages/composer-website/jekylldocs/tutorials/tutorialindex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ These getting started guides are intended for more technical users and may requi
2828

2929
* [Quickstart](../installing/quickstart.html) installs and tests the prerequisites for the digital property network sample.
3030
* [Running a sample with the command line](../tutorials/getting-started-cmd-line.html).
31-
* [Installing and running the {{site.data.conrefs.composer_short}} Playground locally](../tutorials/getting-started-playground.html).
31+
* [Installing and running the {{site.data.conrefs.composer_short}} Playground locally](../tutorials/getting-started-playground.html). To run the [business network tutorial](../tutorials/defining-a-business-network.html) locally, install the playground locally first.
3232

3333
{% for page in site.tutorials %}
3434
<ul>

0 commit comments

Comments
 (0)