docs: update dev docs
This commit is contained in:
parent
dbe10f88b0
commit
bf3f4906ac
2 changed files with 15 additions and 12 deletions
|
@ -51,12 +51,7 @@ You can refer to [local-installation.md](./local-installation.md) to install the
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 26379
|
port: 26379
|
||||||
|
|
||||||
logLevel: [
|
maxlogLevel: 'debug' # or 'trace'
|
||||||
'error',
|
|
||||||
'success',
|
|
||||||
'warning',
|
|
||||||
'info'
|
|
||||||
]
|
|
||||||
```
|
```
|
||||||
1. Start database containers
|
1. Start database containers
|
||||||
```sh
|
```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
|
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
|
## Reset the environment
|
||||||
|
|
||||||
You can recreate a fresh local Firefish environment by recreating the database containers:
|
You can recreate a fresh local Firefish environment by recreating the database containers:
|
||||||
|
|
|
@ -141,12 +141,7 @@ sudo apt install ffmpeg
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 6379
|
port: 6379
|
||||||
|
|
||||||
logLevel: [
|
maxLogLevel: 'debug' # or 'trace'
|
||||||
'error',
|
|
||||||
'success',
|
|
||||||
'warning',
|
|
||||||
'info'
|
|
||||||
]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 4. Build and start Firefish
|
## 4. Build and start Firefish
|
||||||
|
|
Loading…
Reference in a new issue