[#10459] 📝 Update documentation to use yarn --cwd arg
Signed-off-by: LvffY <louberger@hotmail.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user