Committed by
BaiFu
docs(README): Update configuration instructions
Instruct users to copy config.py.example to config.py for local setup.
Showing
2 changed files
with
5 additions
and
0 deletions
| @@ -245,6 +245,9 @@ INSIGHT_ENGINE_MODEL_NAME = "kimi-k2-0711-preview" | @@ -245,6 +245,9 @@ INSIGHT_ENGINE_MODEL_NAME = "kimi-k2-0711-preview" | ||
| 245 | #### 4.2 Database Initialization | 245 | #### 4.2 Database Initialization |
| 246 | 246 | ||
| 247 | **Option 1: Use Local Database** | 247 | **Option 1: Use Local Database** |
| 248 | + | ||
| 249 | +You can refer to `MindSpider\config.py\config.py.example` for the configuration template, and you can copy this file and rename it to `config.py`. | ||
| 250 | + | ||
| 248 | ```bash | 251 | ```bash |
| 249 | # Local MySQL database initialization | 252 | # Local MySQL database initialization |
| 250 | cd MindSpider | 253 | cd MindSpider |
| @@ -253,6 +253,8 @@ INSIGHT_ENGINE_MODEL_NAME = "kimi-k2-0711-preview" | @@ -253,6 +253,8 @@ INSIGHT_ENGINE_MODEL_NAME = "kimi-k2-0711-preview" | ||
| 253 | 253 | ||
| 254 | > MindSpider爬虫系统跟舆情系统是各自独立的,所以需要再去`MindSpider\config.py`配置一下 | 254 | > MindSpider爬虫系统跟舆情系统是各自独立的,所以需要再去`MindSpider\config.py`配置一下 |
| 255 | 255 | ||
| 256 | +配置模板可以参考`MindSpider\config.py\config.py.example`,可以复制该文件并命名为`config.py` | ||
| 257 | + | ||
| 256 | ```bash | 258 | ```bash |
| 257 | # 本地MySQL数据库初始化 | 259 | # 本地MySQL数据库初始化 |
| 258 | cd MindSpider | 260 | cd MindSpider |
-
Please register or login to post a comment