Skip to content

Commit 2a7da73

Browse files
bfontaineAntoLC
authored andcommitted
📝(docs) fix grammar and typos
Fix grammar and typos in docs/installation.md file.
1 parent e8e9922 commit 2a7da73

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/installation.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Installation on a k8s cluster
22

3-
This document is a step-by-step guide that describes how to install Docs on a k8s cluster without AI features. It's a teaching document to learn how it's work. It needs to be adapt for production environment.
3+
This document is a step-by-step guide that describes how to install Docs on a k8s cluster without AI features. It's a teaching document to learn how it works. It needs to be adapted for a production environment.
44

55
## Prerequisites
66

77
- k8s cluster with an nginx-ingress controller
8-
- an OIDC provider (if you don't have one, we will provide an example)
9-
- a PostgreSQL server (if you don't have one, we will provide an example)
10-
- a Memcached server (if you don't have one, we will provide an example)
11-
- a S3 bucket (if you don't have one, we will provide an example)
8+
- an OIDC provider (if you don't have one, we provide an example)
9+
- a PostgreSQL server (if you don't have one, we provide an example)
10+
- a Memcached server (if you don't have one, we provide an example)
11+
- a S3 bucket (if you don't have one, we provide an example)
1212

1313
### Test cluster
1414

15-
If you do not have a test cluster, you can install everything on a local kind cluster. In this case, the simplest way is to use our script **bin/start-kind.sh**.
15+
If you do not have a test cluster, you can install everything on a local Kind cluster. In this case, the simplest way is to use our script **bin/start-kind.sh**.
1616

17-
To be able to use the script, you will need to install:
17+
To be able to use the script, you need to install:
1818

1919
- Docker (https://docs.docker.com/desktop/)
2020
- Kind (https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
@@ -96,13 +96,13 @@ ingress-nginx-admission-patch-94dvt 0/1 Completed 1 2m56s
9696
ingress-nginx-controller-57c548c4cd-2rx47 1/1 Running 0 2m56s
9797
```
9898

99-
When your k8s cluster is ready (the ingress nginx controller is up), you can start the deployment. This cluster is special because it uses the \*.127.0.0.1.nip.io domain and mkcert certificates to have full HTTPS support and easy domain name management.
99+
When your k8s cluster is ready (the ingress nginx controller is up), you can start the deployment. This cluster is special because it uses the `*.127.0.0.1.nip.io` domain and mkcert certificates to have full HTTPS support and easy domain name management.
100100

101-
Please remember that \*.127.0.0.1.nip.io will always resolve to 127.0.0.1, except in the k8s cluster where we configure CoreDNS to answer with the ingress-nginx service IP.
101+
Please remember that `*.127.0.0.1.nip.io` will always resolve to `127.0.0.1`, except in the k8s cluster where we configure CoreDNS to answer with the ingress-nginx service IP.
102102

103103
## Preparation
104104

105-
### What will you use to authenticate your users ?
105+
### What do you use to authenticate your users?
106106

107107
Docs uses OIDC, so if you already have an OIDC provider, obtain the necessary information to use it. In the next step, we will see how to configure Django (and thus Docs) to use it. If you do not have a provider, we will show you how to deploy a local Keycloak instance (this is not a production deployment, just a demo).
108108

@@ -117,9 +117,9 @@ keycloak-0 1/1 Running 0 6m48s
117117
keycloak-postgresql-0 1/1 Running 0 6m48s
118118
```
119119

120-
From here the important informations you will need are :
120+
From here the important information you will need are:
121121

122-
```
122+
```yaml
123123
OIDC_OP_JWKS_ENDPOINT: https://keycloak.127.0.0.1.nip.io/realms/impress/protocol/openid-connect/certs
124124
OIDC_OP_AUTHORIZATION_ENDPOINT: https://keycloak.127.0.0.1.nip.io/realms/impress/protocol/openid-connect/auth
125125
OIDC_OP_TOKEN_ENDPOINT: https://keycloak.127.0.0.1.nip.io/realms/impress/protocol/openid-connect/token
@@ -135,7 +135,7 @@ You can find these values in **examples/keycloak.values.yaml**
135135
136136
### Find redis server connexion values
137137
138-
Impress need a redis so we will start by deploying a redis :
138+
Docs needs a redis so we start by deploying one:
139139
140140
```
141141
$ helm install redis oci://registry-1.docker.io/bitnamicharts/redis -f examples/redis.values.yaml
@@ -148,7 +148,7 @@ redis-master-0 1/1 Running 0 35s
148148

149149
### Find postgresql connexion values
150150

151-
Impress uses a postgresql db as backend so if you have a provider, obtain the necessary information to use it. If you do not have, you can install a postgresql testing environment as follow:
151+
Docs uses a postgresql database as backend, so if you have a provider, obtain the necessary information to use it. If you don't, you can install a postgresql testing environment as follow:
152152

153153
```
154154
$ helm install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f examples/postgresql.values.yaml
@@ -160,9 +160,9 @@ postgresql-0 1/1 Running 0 14m
160160
redis-master-0 1/1 Running 0 42s
161161
```
162162

163-
From here important informations you will need are :
163+
From here the important information you will need are:
164164

165-
```
165+
```yaml
166166
DB_HOST: postgres-postgresql
167167
DB_NAME: impress
168168
DB_USER: dinum
@@ -175,7 +175,7 @@ POSTGRES_PASSWORD: pass
175175
176176
### Find s3 bucket connexion values
177177
178-
Impress uses a s3 bucket to store documents so if you have a provider obtain the necessary information to use it. If you do not have, you can install a local minio testing environment as follow:
178+
Docs uses an s3 bucket to store documents, so if you have a provider obtain the necessary information to use it. If you don't, you can install a local minio testing environment as follow:
179179
180180
```
181181
$ helm install minio oci://registry-1.docker.io/bitnamicharts/minio -f examples/minio.values.yaml
@@ -191,7 +191,7 @@ redis-master-0 1/1 Running 0 10m
191191

192192
## Deployment
193193

194-
Now you are ready to deploy Impress without AI. AI requiered more dependancies (openai API). To deploy impress you need to provide all previous informations to the helm chart.
194+
Now you are ready to deploy Docs without AI. AI requires more dependencies (OpenAI API). To deploy Docs you need to provide all previous informations to the helm chart.
195195

196196
```
197197
$ helm repo add impress https://suitenumerique.github.io/docs/
@@ -214,7 +214,7 @@ redis-master-0 1/1 Running 0 20m
214214

215215
## Test your deployment
216216

217-
In order to test your deployment you have to login to your instance. If you use exclusively our examples you can do :
217+
In order to test your deployment you have to log into your instance. If you exclusively use our examples you can do:
218218

219219
```
220220
$ kubectl get ingress
@@ -227,4 +227,4 @@ impress-docs-ws <none> impress.127.0.0.1.nip.io localhost
227227
keycloak <none> keycloak.127.0.0.1.nip.io localhost 80 49m
228228
```
229229

230-
You can use impress on https://impress.127.0.0.1.nip.io. The provisionning user in keycloak is impress/impress.
230+
You can use Docs at https://impress.127.0.0.1.nip.io. The provisionning user in keycloak is impress/impress.

0 commit comments

Comments
 (0)