File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ LANG=zh . <(curl https://hydro.ac/setup.sh)
14
14
15
15
使 Hydro 接入洛谷开放平台,您需要进行以下操作:
16
16
17
- 1 . 使用 ` hydrooj install @hydrooj/vjudge && hydrooj install https://cdn.luogu.com.cn/lgapi/hydro/hydroplugin-luogu-0.0.1.tgz ` 安装相关模块。
18
- 2 . 使用 ` hydrooj cli luogu importProblem ` 导入题库。
19
- 3 . 使用 ` hydrooj cli luogu addAccount <token> ` 设置账号。
20
- 4 . 重启 Hydro 进程(` pm2 restart hydrooj ` )。
21
- 5 . 大功告成!
17
+ 1 . 使用 ` hydrooj install @hydrooj/vjudge ` 安装 vjudge 插件(如果之前已安装请跳过该步骤)
18
+ 2 . 使用 ` hydrooj install https://cdn.luogu.com.cn/lgapi/hydro/hydroplugin-luogu-latest.tgz ` 安装题库导入工具。
19
+ 3 . 使用 ` hydrooj cli luogu importProblem ` 导入题库。
20
+ 4 . 使用 ` hydrooj cli luogu addAccount <token> ` 设置账号。
21
+ 5 . 重启 Hydro 进程(` pm2 restart hydrooj ` )。
22
+ 6 . 大功告成!
22
23
23
24
如果需要帮助部署/迁移或有二次开发的需求,您可联系 Hydro 开发者寻求帮助。
24
25
You can’t perform that action at this time.
0 commit comments