[#10459] 📝 Update documentation to use yarn --cwd arg

Signed-off-by: LvffY <louberger@hotmail.fr>
This commit is contained in:
LvffY
2022-03-29 21:59:53 +02:00
parent d8dd90927e
commit 22bd2bead1
14 changed files with 28 additions and 43 deletions
@@ -36,14 +36,13 @@ Please ensure the appropriate database drivers are installed in your `backend`
package. If you intend to use both PostgreSQL and SQLite, you can install
both of them.
```sh
cd packages/backend
```bash
# From the Backstage root directory
# install pg if you need PostgreSQL
yarn add pg
yarn add --cwd packages/backend pg
# install SQLite 3 if you intend to set it as the client
yarn add better-sqlite3
yarn add --cwd packages/backend better-sqlite3
```
From an operational perspective, you only need to install drivers for clients
+2 -3
View File
@@ -19,10 +19,9 @@ switch between database backends.
First, add PostgreSQL to your `backend` package:
```shell
```bash
# From your Backstage root directory
cd packages/backend
yarn add pg
yarn add --cwd packages/backend pg
```
## Add PostgreSQL configuration