diff --git a/dev/docs/db-container.md b/dev/docs/db-container.md index 7e3caf7f4b..465b45dd0f 100644 --- a/dev/docs/db-container.md +++ b/dev/docs/db-container.md @@ -51,12 +51,7 @@ You can refer to [local-installation.md](./local-installation.md) to install the host: localhost port: 26379 - logLevel: [ - 'error', - 'success', - 'warning', - 'info' - ] + maxlogLevel: 'debug' # or 'trace' ``` 1. Start database containers ```sh @@ -84,6 +79,19 @@ You can refer to [local-installation.md](./local-installation.md) to install the DONE * [core boot] Now listening on port 3000 on http://localhost:3000 ``` +## Update auto-generated files in `package/backend-rs` + +You need to install `sea-orm-cli` to regenerate database entities. + +```sh +cargo install sea-orm-cli +``` + +```sh +make entities +make napi +``` + ## Reset the environment You can recreate a fresh local Firefish environment by recreating the database containers: diff --git a/dev/docs/local-installation.md b/dev/docs/local-installation.md index 15c7dad7d4..cc32e94198 100644 --- a/dev/docs/local-installation.md +++ b/dev/docs/local-installation.md @@ -141,12 +141,7 @@ sudo apt install ffmpeg host: localhost port: 6379 - logLevel: [ - 'error', - 'success', - 'warning', - 'info' - ] + maxLogLevel: 'debug' # or 'trace' ``` ## 4. Build and start Firefish