feat: 添加云端部署准备工作

- 添加 .env.example 环境变量模板
- 创建部署辅助脚本(run_crawler.sh、health_check.sh、backup.sh)
- 更新 .gitignore 排除备份目录
- 添加云端部署指南文档
This commit is contained in:
ztb-system
2026-02-25 10:27:36 +08:00
parent d823936436
commit 5f93dbe5e4
6 changed files with 786 additions and 0 deletions

15
.env.example Normal file
View File

@@ -0,0 +1,15 @@
# 招标公告爬虫项目环境变量配置
# 请复制此文件为 .env 并填入实际的密钥值
# cp .env.example .env
# DeepSeek API 密钥
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# 简道云 API 密钥
JDY_API_KEY=your_jiandaoyun_api_key_here
# 数据存储路径(可选,默认为 data
DATA_DIR=data
# 临时文件路径(可选,默认为 temp_files
TEMP_DIR=temp_files