Files
MBTI_wang/scripts/env.bt.example
卡若 ce55c48c64 feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。

Made-with: Cursor
2026-04-20 11:07:55 +08:00

21 lines
858 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 复制为同目录下的 .env.bt 后填写(.env.bt 已 gitignore勿提交
# cp scripts/env.bt.example scripts/.env.bt
#
# 若密钥放在腾讯云「凭据管理系统」:可用脚本拉取并生成 .env.bt宝塔密钥仍需你在面板复制进凭据
# export MBTI_BT_SECRET_NAME=你的凭据名
# .venv-bt/bin/python scripts/sync_env_bt_from_tencent_ssm.py
# .venv-bt/bin/python scripts/sync_env_bt_from_tencent_ssm.py --deploy-api
BT_API_KEY=
# 可选:与面板不一致时覆盖
# BT_PANEL_URL=https://你的面板:端口
# 可选:面板自动识别失败时,写服务器上 api 代码根(含 app/、route/
# MBTI_API_CODE_ROOT=/www/wwwroot/xxx/mbti-api/api
# 可选:仅上传 admin 静态时需要
# MBTI_ADMIN_SITE_ROOT=/www/wwwroot/xxx/mbti-admin
# 可选:上传后重载 PHP
# BT_PHP_FPM_SERVICE=php-fpm-82