mirror of https://github.com/fantasticit/think.git
Update README.md
parent
cf32d425db
commit
a22a127eb1
11
README.md
11
README.md
|
@ -29,8 +29,9 @@ Think 是一款开源知识管理工具。通过独立的知识库空间,结
|
||||||
|
|
||||||
本项目依赖 pnpm 使用 monorepo 形式进行代码组织,分包如下:
|
本项目依赖 pnpm 使用 monorepo 形式进行代码组织,分包如下:
|
||||||
|
|
||||||
- `@think/config`: 管理项目整体配置
|
- `@think/config`: 客户端、服务端、OSS、MYSQL、Redis 等配置管理
|
||||||
- `@think/share`:数据类型定义、枚举、配置等
|
- `@think/domains`:领域模型数据定义
|
||||||
|
- `@think/constants`:常量配置
|
||||||
- `@think/server`:服务端
|
- `@think/server`:服务端
|
||||||
- `@think/client`:客户端
|
- `@think/client`:客户端
|
||||||
|
|
||||||
|
@ -101,6 +102,8 @@ server:
|
||||||
prefix: '/api'
|
prefix: '/api'
|
||||||
port: 5001
|
port: 5001
|
||||||
collaborationPort: 5003
|
collaborationPort: 5003
|
||||||
|
# 最大版本记录数
|
||||||
|
maxDocumentVersion: 20
|
||||||
|
|
||||||
client:
|
client:
|
||||||
assetPrefix: '/'
|
assetPrefix: '/'
|
||||||
|
@ -118,6 +121,10 @@ db:
|
||||||
charset: 'utf8mb4'
|
charset: 'utf8mb4'
|
||||||
timezone: '+08:00'
|
timezone: '+08:00'
|
||||||
synchronize: true
|
synchronize: true
|
||||||
|
redis:
|
||||||
|
host: '127.0.0.1'
|
||||||
|
port: '6379'
|
||||||
|
password: 'root'
|
||||||
|
|
||||||
# oss 文件存储服务
|
# oss 文件存储服务
|
||||||
oss:
|
oss:
|
||||||
|
|
Loading…
Reference in New Issue