Skip to content

Commit c81a9ea

Browse files
committed
Changed the text
1 parent 115c281 commit c81a9ea

File tree

1 file changed

+19
-30
lines changed

1 file changed

+19
-30
lines changed

Docs/installation.md

+19-30
Original file line numberDiff line numberDiff line change
@@ -32,42 +32,31 @@ We’ve built a yotta Docker container - a yocker - and a bash script (yotta.sh)
3232

3333
1. Save the [yotta script](https://github.com/ARMmbed/GettingStartedmbedOS/blob/master/Docs/Scripts/yotta.sh) on your computer. You’ll need to refer to its path when you use it in Docker later, so remember where it is.
3434

35-
### Using the yotta Docker to build projects
35+
### Using the yotta Docker and script to build projects
3636

37-
yotta needs to [work in the project directory](Full_Guide/app_on_yotta.md). So to build a project:
38-
39-
1. Start Docker.
40-
41-
1. Create a project and navigate to it. Here’s an example of creating a local copy of a project hosted on GitHub:
42-
43-
```
44-
git clone <mbedos project>
45-
cd <mbedos project>
46-
```
47-
48-
1. You can now use the standard [yotta commands](http://yottadocs.mbed.com/reference/commands.html). Note that you'll have to precede each command with the path to the bash script you saved in the previous section. For example:
37+
There is one difference between a regular installation and a Docker Container: in Docker, you'll have to precede each yotta command with the path to the bash script you saved in the previous section. For example:
4938

50-
```
51-
../<path containing script>/yotta target frdm-k64f-gcc
52-
../<path containing script>/yotta build
53-
```
39+
```
40+
../<path containing script>/yotta target frdm-k64f-gcc //sets the target
41+
../<path containing script>/yotta build //builds our project for the target
42+
```
5443

55-
**Tip:** If you saved your script under a name other than ``yotta``, you may need to enter the script’s full name, including extension. Our example will become ``../<path containing script>/<name.extension> target frdm-k64f-gcc``.
44+
**Note:** If you saved your script under a name other than ``yotta``, you may need to enter the script’s full name, including extension. Our example will become ``../<path containing script>/<name.extension> target frdm-k64f-gcc``.
5645

57-
1. You can add the yotta script’s path to your system’s ``path`` variable (Windows) or create a symbolic link (symlink) to your bin directory (Linux and Mac OS X). Then you’ll be able to use yotta commands without specifying the full path to the script. For example, to create a symlink:
58-
59-
```
60-
ln -s <path to your yotta.sh> /usr/bin/yotta
61-
```
46+
If you want to use yotta commands without specifying the full path to the script, you can add the yotta script’s path to your system’s ``path`` variable (Windows) or create a symbolic link (symlink) to your bin directory (Linux and Mac OS X). For example, to create a symlink:
6247

63-
Now you can use yotta directly:
48+
```
49+
ln -s <path to your yotta.sh> /usr/bin/yotta
50+
```
51+
52+
Now you can use yotta directly:
6453

65-
```
66-
git clone <mbedos project>
67-
cd <mbedos project>
68-
yotta target frdm-k64f-gcc
69-
yotta build
70-
```
54+
```
55+
git clone <mbedos project>
56+
cd <mbedos project>
57+
yotta target frdm-k64f-gcc
58+
yotta build
59+
```
7160

7261

7362

0 commit comments

Comments
 (0)