docs: update dev docs

This commit is contained in:
naskya 2024-05-04 14:59:11 +09:00
parent dbe10f88b0
commit bf3f4906ac
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 15 additions and 12 deletions

View file

@ -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:

View file

@ -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