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

todo #1

Open
1 of 8 tasks
virusdefender opened this issue May 3, 2016 · 2 comments
Open
1 of 8 tasks

todo #1

virusdefender opened this issue May 3, 2016 · 2 comments

Comments

@virusdefender
Copy link

virusdefender commented May 3, 2016

  • 操作判断返回值,是否成功
  • 使用root权限,修改目录权限
  • 将oj代码和data等放在/home下一个单独文件夹中,安装文档也需要修改,这样更好些
  • docker版本的nginx(待讨论)
  • MySQL和判题密码随机生成就好,然后显示一下
  • mkdir -p 可以放在一行
  • MySQL打算单独做一个版本,加入binlog,放在阿里云上,redis也使用阿里云的
  • docker-compose里面MySQL密码和判题密码不再都使用{YOUR_PASSWORD},方便写脚本
@virusdefender
Copy link
Author

打算用Python重写了,有些东西不知道用shell怎么写,比如错误重试函数之类的。。

你怎么看

@BIGBALLON
Copy link
Owner

可以考虑重写。
还有就是判断某些软件或者依赖是否已经安装,安装过就直接跳过。
错误重试函数貌似我没有用过,靠谱自己实现一个这样的函数,应该也行。

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

No branches or pull requests

2 participants