Skip to content

Commit 1a64c37

Browse files
ArduinoBotTaddyHC
andauthored
Initial commit - WebGL Output Tutorial X8 w/ Docker concept patch (#1734)
Co-authored-by: TaddyHC <[email protected]>
1 parent bded490 commit 1a64c37

File tree

1 file changed

+8
-8
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/11.display-output-webgl

1 file changed

+8
-8
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/11.display-output-webgl/content.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ ssh fio@<localIP>
129129

130130
***To connect through SSH it will request the user's password, which is "fio". If you have trouble connecting with the SSH, please check the troubleshooting section at the end of this tutorial.***
131131

132-
### Copy/Push the Container
132+
### Copy/Push the Docker-Compose.yml
133133

134-
You can push the container from your computer using a terminal on the container's directory. The following command is used to send the container to the Portenta X8:
134+
You can push the **docker-compose.yml**, a file that describes the app in ASCII format, from your computer using a terminal on the file's directory. The following command is used to send the composer to the Portenta X8:
135135

136136
```bash
137137
scp <folderName> fio@<portentaX8-IP>:<desiredPath>
@@ -172,9 +172,9 @@ mode=98.00 1600 1680 1840 2080 758 761 771 787 -hsync +vsync
172172
```
173173
Save the file and exit. To see the changes in place, you have to reboot your Portenta X8 by using the command `sudo systemctl reboot`. When the board gets started again, you will be able to see your display with the right resolution.
174174

175-
### Running The Container
175+
### Running The Image
176176

177-
If you obtained the container from **Foundries.io**, it will run automatically after a few seconds.
177+
If you obtained the app descriptor, structured through *docker-compose.yml*, from **Foundries.io**, it will run automatically after a few seconds.
178178

179179
On the other hand, if you copied from the repository, you will need to initialize with **docker** by accessing your Portenta X8 through SSH, going to the directory where you have copied it, and running it from that directory using following commands:
180180

@@ -183,13 +183,13 @@ On the other hand, if you copied from the repository, you will need to initializ
183183
ssh fio@<portentaX8-IP>
184184

185185
//Change directory
186-
cd <containerPath>
186+
cd <composerPath>
187187

188188
//Compose with docker
189-
docker-compose up --detach
189+
docker compose up --detach
190190

191191
//Stop the docker-compose
192-
docker-compose stop
192+
docker compose stop
193193
```
194194

195195
### Edit The Output
@@ -201,7 +201,7 @@ It is possible to change the web output URL by editing the `docker-compose.yml`
201201
ssh fio@<portentaX8-IP>
202202

203203
//Change directory
204-
cd <containerPath>
204+
cd <composerPath>
205205

206206
//Edit the file with VIM
207207
vim docker-compose.yml

0 commit comments

Comments
 (0)