You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/installation.md
+19-30
Original file line number
Diff line number
Diff line change
@@ -32,42 +32,31 @@ We’ve built a yotta Docker container - a yocker - and a bash script (yotta.sh)
32
32
33
33
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.
34
34
35
-
### Using the yotta Docker to build projects
35
+
### Using the yotta Docker and script to build projects
36
36
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:
../<path containing script>/yotta target frdm-k64f-gcc //sets the target
41
+
../<path containing script>/yotta build //builds our project for the target
42
+
```
54
43
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``.
56
45
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:
0 commit comments