Closed jinwyp closed 9 months ago
This PR based on https://github.com/yihong0618/tg_bot_collections/issues/14
add custom python path (python version) to env 增加 Python_Bin_Path 变量用于切换 已安装的python 不同的版本. 推荐安装python3.10
add run.sh script to run without systemd service 增加 run.sh 功能为不使用 systemd.service 方式的命令行方式运行. 包括安装python虚拟环境 方便调试
其他问题: 发现setup.sh 和 .env.example 文件 有时会从LF 换行 变成 CRLF 换行模式 导致脚本在linux 无法运行 需要注意编辑器设置 可以在项目增加一个 .editorconfig 配置 指定换行模式为LF
can you combine these two file into one?
This PR based on https://github.com/yihong0618/tg_bot_collections/issues/14
add custom python path (python version) to env 增加 Python_Bin_Path 变量用于切换 已安装的python 不同的版本. 推荐安装python3.10
add run.sh script to run without systemd service 增加 run.sh 功能为不使用 systemd.service 方式的命令行方式运行. 包括安装python虚拟环境 方便调试
其他问题: 发现setup.sh 和 .env.example 文件 有时会从LF 换行 变成 CRLF 换行模式 导致脚本在linux 无法运行 需要注意编辑器设置 可以在项目增加一个 .editorconfig 配置 指定换行模式为LF