mirror of
https://gitee.com/houhuan/TrendRadar.git
synced 2025-12-21 12:57:15 +08:00
docs: 增加文档说明
This commit is contained in:
parent
47a6fba9b5
commit
b44afb684c
17
readme.md
17
readme.md
@ -7,7 +7,7 @@
|
||||
[](https://github.com/sansan0/TrendRadar/stargazers)
|
||||
[](https://github.com/sansan0/TrendRadar/network/members)
|
||||
[](LICENSE)
|
||||
[](https://github.com/sansan0/TrendRadar)
|
||||
[](https://github.com/sansan0/TrendRadar)
|
||||
|
||||
[](https://work.weixin.qq.com/)
|
||||
[](https://telegram.org/)
|
||||
@ -721,7 +721,7 @@ docker run -d --name trend-radar \
|
||||
-e IMMEDIATE_RUN="true" \
|
||||
wantcat/trendradar:latest
|
||||
|
||||
# 或者配置环境变量启用推送通知
|
||||
# 或者启用手机应用推送通知
|
||||
docker run -d --name trend-radar \
|
||||
-v ./config:/app/config:ro \
|
||||
-v ./output:/app/output \
|
||||
@ -765,7 +765,7 @@ wget https://raw.githubusercontent.com/sansan0/TrendRadar/master/config/frequenc
|
||||
1. **创建项目目录和配置**:
|
||||
```bash
|
||||
# 创建目录结构
|
||||
mkdir -p trendradar/{config,output}
|
||||
mkdir -p trendradar/{config,docker}
|
||||
cd trendradar
|
||||
|
||||
# 下载配置文件模板
|
||||
@ -777,6 +777,17 @@ wget https://raw.githubusercontent.com/sansan0/TrendRadar/master/config/frequenc
|
||||
wget https://raw.githubusercontent.com/sansan0/TrendRadar/master/docker/docker-compose.yml
|
||||
```
|
||||
|
||||
完成后的目录结构应该是:
|
||||
```
|
||||
当前目录/
|
||||
├── config/
|
||||
│ ├── config.yaml
|
||||
│ └── frequency_words.txt
|
||||
└── docker/
|
||||
├── .env
|
||||
└── docker-compose.yml
|
||||
```
|
||||
|
||||
2. **配置文件说明**:
|
||||
- `config/config.yaml` - 应用主配置(报告模式、推送设置等)
|
||||
- `config/frequency_words.txt` - 关键词配置(设置你关心的热点词汇)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user