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: tutorials/deploy-mdbooks-serverless-containers/index.mdx
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
meta:
3
3
title: Fast deployment of documentation on Serverless Containers with mdbooks
4
-
description: Step-by-step guide to deploy mdbooks on Serverless Containers.
4
+
description: Step-by-step guide to deploy mdbooks on Scaleway Serverless Containers.
5
5
content:
6
-
h1: Deploying mdbooks on Serverless Containers
7
-
paragraph:
6
+
h1: Fast deployment of documentation on Serverless Containers with mdbooks
7
+
paragraph:Step-by-step guide to deploy mdbooks on Scaleway Serverless Containers.
8
8
tags: docker container deploy serverless
9
9
hero: assets/scaleway-umami.webp
10
10
categories:
@@ -17,7 +17,7 @@ dates:
17
17
18
18
Publish modern online books, for product, API documentation, tutorials, course material or anything that requires a clean, easily navigable and customizable presentation.
19
19
20
-
**Goal** this tutorial uses `mdbooks` to publish simple documentation but the main goal of this tutorial is to show how simple it is to
20
+
This tutorial uses `mdbooks` to publish simple documentation but the main goal of this tutorial is to show how simple it is to
21
21
pick a project, package it inside an image and deploy it on Serverless Containers.
22
22
23
23
<Macroid="requirements" />
@@ -28,21 +28,21 @@ pick a project, package it inside an image and deploy it on Serverless Container
28
28
29
29
## Why deploying on Serverless
30
30
31
-
Serverless products are perfect for cost efficiency with a pay-as-yougo model and scales very well.
31
+
Serverless products are perfect for cost efficiency with a pay-as-you-go model and scale very well.
32
32
33
-
With zero infrastructure management a lot of tools to integrate in CI/CD environments, `mdbooks` can benefits a lot of Serverless Containers.
33
+
With zero infrastructure management and many tools to integrate in CI/CD environments, `mdbooks` can benefit a lot of Serverless Containers.
34
34
35
35
## Local setup
36
36
37
-
1. Follow [Istallation instructions](https://rust-lang.github.io/mdBook/guide/installation.html) of mdbooks.
37
+
1. Follow the [installation instructions](https://rust-lang.github.io/mdBook/guide/installation.html) of mdbooks.
38
38
39
39
2. Run commands:
40
40
-`mdbook init my-first-book` in order to create a sample book.
41
41
-`cd my-first-book` to open the directory created by init command.
42
42
43
43
3.*(optional)* Now you can edit the content of the book to publish.
44
44
45
-
4. It's recommanded to test the book using the command: `mdbook test`.
45
+
4. It is recommended to test the book using the command: `mdbook test`.
2. Open Container Registry product on 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.
77
77
3. Click **Create namespace**. A namespace is used to hold the image.
4. Create the namespace and save the registry endpoint. The registry endpoint looks like `rg.<region>.scw.cloud/<namespace>`
84
84
85
-
## Build and Push
85
+
<Messagetype="note">
86
+
Refer to [How to create a namespace](/docs/containers/container-registry/how-to/create-namespace/) for detailed information about Container Registry namespace creation.
87
+
</Message>
88
+
## Build and push
86
89
87
90
1. Run the command `docker build -t rg.<region>.scw.cloud/<namespace>/<image_name>:<tag_name> .`
88
91
***region**: to get this information, check the namespace settings of the namespace you created.
0 commit comments