Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos #179

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sites/cheerpx/src/content/docs/13-tutorials/full_os.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We will create an Ext2 image, which will serve as the root filesystem for Cheerp
To ensure consistency in preparing the image contents, we will use a Dockerfile, you can edit the Dockerfile to add custom packages or change the base to the distro of your choosing. It's important to select the `i386` architecture, since CheerpX does not currently support 64-bit executables.

```dockerfile title=Dockerfile
FROM --platform=i386 i386/debian:buster
FROM --platform=i386 docker.io/i386/debian:buster
ARG DEBIAN_FRONTEND=noninteractive
RUN useradd -m user && echo "user:password" | chpasswd
RUN echo 'root:password' | chpasswd
Expand Down Expand Up @@ -47,13 +47,13 @@ Loading CheerpX is very simple. Create a new file called `index.html` and popula

```html title=index.html
<!doctype html>
<html lang="en" style="height: 100%;">
<html lang="en" style="heigth: 100%;">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<head>
<meta charset="UTF-8" />
<title>CheerpX Test</title>
<script src="https://cxrtnc.leaningtech.com/%CX_LATEST%/cx.js"></script>
</head>
<body style="height: 100%; background: black;"></body>
<body style="heigth: 100%; background: black;"></body>
</html>
```

Expand Down Expand Up @@ -144,7 +144,7 @@ To learn more about `Cheerpx.Linux.create`, see the [CheerpX.Linux.create] refer
Create a console element for the output of your program.

```html
<pre id="console" style="height: 100%;"></pre>
<pre id="console" style="heigth: 100%;"></pre>
```

And configure CheerpX to use it by adding this snippet at the end of the script.
Expand Down
Loading