Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie Wheeler authored Feb 21, 2017
1 parent 3d95b88 commit f586f00
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/quick-tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Now that you know [a little bit about Ballerina](index.md), let's take it for a

## Install Ballerina

1. Download Ballerina from http://www.ballerinalang.org and unzip it on your computer.
1. Add the Ballerina `/bin` directory to your $PATH environment variable so that you can run the Ballerina commands from anywhere.
1. Go to http://www.ballerinalang.org and click **Download**.
1. Download the Ballerina Tools distribution and unzip it on your computer. Ballerina Tools includes the Ballerina runtime plus the visual editor (Composer) and other tools.
1. Add the `<ballerina_home>/bin` directory to your $PATH environment variable so that you can run the Ballerina commands from anywhere.

>NOTE: Throughout this documentation, `<ballerina_home>` refers to the Ballerina directory you just installed.
## Run HelloWorld

Expand All @@ -21,7 +24,7 @@ function main (string[] args) {

The HelloWorld sample doesn't take any specific input, so simply running it will cause it to print "Hello, World!" at the command line.

At the command prompt, navigate to the `<ballerina_home>/samples/helloWorld` directory and enter the following line (type `./ballerina` instead of `ballerina` on UNIX/Linux):
At the command prompt, navigate to the `<ballerina_home>/samples/helloWorld` directory and enter the following line:

```
ballerina run main helloworld.bal
Expand All @@ -39,7 +42,7 @@ Pretty simple and straightforward, right? Now, let's look at something a little

## Run the Composer

1. At the command prompt, type `composer` on Windows or `./composer` on UNIX/Linux.
1. At the command prompt, type `composer`.

1. Access the Composer from the following URL in your browser: http://localhost:9091

Expand All @@ -49,7 +52,7 @@ Pretty simple and straightforward, right? Now, let's look at something a little

Notice that on the left you have a tool palette containing the various constructs that you'll use to build your integration. On the right, you have a visual editor with a canvas onto which you drag those constructs. This is where you build your sequence diagrams that define your integration logic.

Also notice in the lower right corner the Source View and Swagger View buttons.
Also notice in the lower right corner the **Source View** and **Swagger View** buttons.

1. Click **Source View**. You'll see the source code editor that represents the sequence diagram as code in the Ballerina language. You can go back and forth between the visual editor and the source code and make your edits in either place.

Expand Down

0 comments on commit f586f00

Please sign in to comment.