docs: Explain postgres user for db creation

This commit is contained in:
Faruk AYDIN
2022-11-13 00:46:05 +01:00
committed by Ali BARIN
parent 5deead7f94
commit c5bcebad9a

View File

@@ -30,6 +30,10 @@ Create the development database in the backend folder.
yarn db:create
```
:::warning
`yarn db:create` commands expect that you have the `postgres` superuser. If not, you can create a superuser called `postgres` manually or you can create the database manually by checking PostgreSQL-related default values from the [app config](https://github.com/automatisch/automatisch/blob/main/packages/backend/src/config/app.ts).
:::
Run the database migrations in the backend folder.
```bash