modify scripts

This commit is contained in:
2025-07-22 09:26:02 +08:00
parent f2b0ec85eb
commit 6200e5a1d6

View File

@ -3,6 +3,9 @@
# ==============================================
# 配置区:可根据需求修改或扩展
# ==============================================
# 补充环境变量(根据 which scrapy 的结果修改路径)
export PATH="/home/ubuntu/.local/bin:$PATH"
# 项目基础路径自动计算脚本所在目录的上一级即scrapy_proj/
SCRAPY_PROJ_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
LOG_DIR="${SCRAPY_PROJ_DIR}/log" # 日志存放目录