Skip to content

Commit daf4b14

Browse files
committed
Updating code blocks in PostgreSQL tutorial #1 for Public Cloud DB
1 parent d32cd88 commit daf4b14

File tree

7 files changed

+42
-35
lines changed

7 files changed

+42
-35
lines changed

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-asia.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-au.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-ca.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-gb.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,10 @@ You can follow these different tutorials if you need to install some of the tool
191191

192192
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
193193

194-
```
194+
```sh
195195
$ nvm use 16.13.1
196196
```
197+
197198
<pre class="console"><code>$ nvm use 16.13.1
198199
Now using node v16.13.1 (npm v8.1.2)
199200
</code></pre>
@@ -203,7 +204,7 @@ Now using node v16.13.1 (npm v8.1.2)
203204
Strapi offers a simple way to install its product, with yarn.
204205
Run the following command in a terminal:
205206

206-
```
207+
```sh
207208
yarn create strapi-app my-strapi
208209
```
209210

@@ -340,7 +341,7 @@ Save and exit the file.
340341

341342
Launch the strapi application with the yarn command:
342343

343-
```
344+
```sh
344345
yarn develop
345346
```
346347

@@ -422,7 +423,7 @@ Then press the `Save`{.action} button.
422423

423424
As described above, connect to the PosgreSQL database with psql command line interface.
424425

425-
```
426+
```sh
426427
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
427428
```
428429

@@ -440,7 +441,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
440441

441442
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
442443

443-
```
444+
```sh
444445
rm -rf /home/my/app/path/my-strapi/
445446
```
446447

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-ie.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-sg.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

pages/platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql/guide.en-us.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ You can follow these different tutorials if you need to install some of the tool
189189

190190
We want to use the latest LTS version of nodejs, so inside your development environment, use this command:
191191

192-
```
192+
```sh
193193
$ nvm use 16.13.1
194194
```
195+
195196
<pre class="console"><code>$ nvm use 16.13.1
196197
Now using node v16.13.1 (npm v8.1.2)
197198
</code></pre>
@@ -201,7 +202,7 @@ Now using node v16.13.1 (npm v8.1.2)
201202
Strapi offers a simple way to install its product, with yarn.
202203
Run the following command in a terminal:
203204

204-
```
205+
```sh
205206
yarn create strapi-app my-strapi
206207
```
207208

@@ -338,7 +339,7 @@ Save and exit the file.
338339

339340
Launch the strapi application with the yarn command:
340341

341-
```
342+
```sh
342343
yarn develop
343344
```
344345

@@ -420,7 +421,7 @@ Then press the `Save`{.action} button.
420421

421422
As described above, connect to the PosgreSQL database with psql command line interface.
422423

423-
```
424+
```sh
424425
$ psql --dbname=defaultdb --host=postgresql-xxxxxxxx-xxxxxxxxx.database.cloud.ovh.net --port=20184 --username=avnadmin --password
425426
```
426427

@@ -438,7 +439,7 @@ Then find, in the `up_users` table, our previously created entry. Here the user
438439

439440
To clean your Strapi, make sure it is closed by pressing `CTRL+C`{.action} in the terminal you used to launch it, then delete your installation folder.
440441

441-
```
442+
```sh
442443
rm -rf /home/my/app/path/my-strapi/
443444
```
444445

0 commit comments

Comments
 (0)