README.md,docker-build-bot.sh ,docker-start-bot.sh,以及start-bot.sh的修改 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
更新
README.md
将README.md中
cd script/docker-image; sh docker-build.sh
修改为
cd script/docker-image; sh docker-build-bot.sh
(不确定这项修改是否合理)
优化
docker-build-bot.sh
现在
docker-build-bot.sh
会检测路径下是否存在docker所需的mongodb-linux-x86_64-ubuntu1804-4.4.2.tgz
文件,并在没有时从此网址进行下载。优化
docker-start-bot.sh
,以及start-bot.sh
现在以上两个shell script会自动读取project所在路径,不再将路径限制为
/ErGo
start-bot.sh
现在会自动检测是否存在logs
路径以及mirai
路径TODO: 建议在
start-bot.sh
中添加miraiOK_linux-amd64下载指令,或取消.gitignore中mirai文件夹以及其中不涉及个人隐藏信息的文件,GitHub上原MiraiOK仓库提供的下载地址已失效