Skip to content

Commit 667fdc8

Browse files
Apply suggestions from code review
Co-authored-by: Rowena Jones <[email protected]>
1 parent 567b509 commit 667fdc8

File tree

1 file changed

+11
-11
lines changed
  • tutorials/deploy-mdbooks-serverless-containers

1 file changed

+11
-11
lines changed

tutorials/deploy-mdbooks-serverless-containers/index.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ categories:
1111
- containers
1212
- container-registry
1313
dates:
14-
validation:
15-
posted:
14+
validation: 2024-10-30
15+
posted: 2024-10-30
1616
---
1717

18-
Publish modern online books, for product, API documentation, tutorials, course material or anything that requires a clean, easily navigable and customizable presentation.
18+
`mdBooks` lets you publish modern online books, for product, API documentation, tutorials, course material or anything that requires a clean, easily navigable and customizable presentation.
1919

2020
This tutorial uses `mdbooks` to publish simple documentation but the main goal of this tutorial is to show how simple it is to
2121
pick a project, package it inside an image and deploy it on Serverless Containers.
@@ -26,11 +26,11 @@ pick a project, package it inside an image and deploy it on Serverless Container
2626
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2727
- Docker installed on your local machine
2828

29-
## Why deploying on Serverless
29+
## Why deploy on Serverless?
3030

31-
Serverless products are perfect for cost efficiency with a pay-as-you-go model and scale very well.
31+
Serverless products are perfect for cost efficiency with a pay-as-you-go model, and scale very well.
3232

33-
With zero infrastructure management and many tools to integrate in CI/CD environments, `mdbooks` can benefit a lot of Serverless Containers.
33+
With zero infrastructure management and many tools to integrate in CI/CD environments, an `mdbooks` deployment is well suited to Serverless Containers.
3434

3535
## Local setup
3636

@@ -40,9 +40,9 @@ With zero infrastructure management and many tools to integrate in CI/CD environ
4040
- `mdbook init my-first-book` in order to create a sample book.
4141
- `cd my-first-book` to open the directory created by init command.
4242

43-
3. *(optional)* Now you can edit the content of the book to publish.
43+
3. *(Optional)* Edit the content of the book to publish.
4444

45-
4. It is recommended to test the book using the command: `mdbook test`.
45+
4. Test the book using the command: `mdbook test`.
4646

4747
## Prepare Container Registry
4848

@@ -73,11 +73,11 @@ ENV PATH="$PATH:/home/mdbooks"
7373
ENTRYPOINT ["mdbook", "serve", "-n", "0.0.0.0", "-p", "8080" ]
7474
```
7575

76-
2. Open a web browser on your computer and navigate to the [Container Registry](https://console.scaleway.com/containers/) product in the Scaleway Console.
76+
2. Open a web browser on your computer and navigate to the [Container Registry](https://console.scaleway.com/containers/) product in the Scaleway console.
7777
3. Click **Create namespace**. A namespace is used to hold the image.
7878

7979
<Message type="note">
80-
A pop-up will appear with informations to log into your Container Registry Namespace with `docker login`. This will allow to push the image later.
80+
A pop-up will appear with information to log into your Container Registry Namespace with `docker login`. This will allow us to push the image later.
8181
</Message>
8282

8383
4. Create the namespace and save the registry endpoint. The registry endpoint looks like `rg.<region>.scw.cloud/<namespace>`
@@ -105,7 +105,7 @@ ENTRYPOINT ["mdbook", "serve", "-n", "0.0.0.0", "-p", "8080" ]
105105
You can keep default values of other parameters and fine-tune them later at anytime without downtime.
106106

107107
3. Click **Deploy container** button and wait few seconds for the deployment.
108-
4. Congratulation you Serverless Container is deployed an ready. You can access it via it's **endpoint**.
108+
Your Serverless Container is deployed and ready. You can access it via its **endpoint**.
109109

110110
## Going further
111111

0 commit comments

Comments
 (0)