Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md,docker-build-bot.sh ,docker-start-bot.sh,以及start-bot.sh的修改 #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hg-hg
Copy link

@hg-hg hg-hg commented Feb 6, 2021

更新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仓库提供的下载地址已失效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant