Skip to content

Commit

Permalink
Update hydro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
moesoha authored Oct 13, 2023
1 parent 68bb9f8 commit fc3b497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/project/hydro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LANG=zh . <(curl https://hydro.ac/setup.sh)
使 Hydro 接入洛谷开放平台,您需要进行以下操作:

1. 使用 `hydrooj install @hydrooj/vjudge` 安装 vjudge 插件(如果之前已安装请跳过该步骤)
2. 使用 `hydrooj install https://cdn.luogu.com.cn/lgapi/hydro/hydroplugin-luogu-0.0.1.tgz` 安装题库导入工具。
2. 使用 `hydrooj install https://cdn.luogu.com.cn/lgapi/hydro/hydroplugin-luogu-latest.tgz` 安装题库导入工具。
3. 使用 `hydrooj cli luogu importProblem` 导入题库。
4. 使用 `hydrooj cli luogu addAccount <token>` 设置账号。
5. 重启 Hydro 进程(`pm2 restart hydrooj`)。
Expand Down

0 comments on commit fc3b497

Please sign in to comment.