mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
remove snyk (its making the project huge)
This commit is contained in:
1 parent
67cb68a9c0
commit
2aa962350f
10 files changed
+53
-2624
No files matched your search
+14
-5
@@ -16,13 +16,22 @@ Hydro 依赖于 MongoDB 与 NodeJS,您应该先安装它们。
|
||||
|
||||
提示:推荐使用 [nvm](https://nvm.sh/) 安装 NodeJS。
|
||||
|
||||
clone 本项目到一个空文件夹,并进行编译:
|
||||
安装 yarn:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/hydro-dev/Hydro.git
|
||||
cd Hydro
|
||||
yarn build:all
|
||||
node .build/app.js
|
||||
npm install yarn -g
|
||||
```
|
||||
|
||||
使用 yarn 安装 Hydro:
|
||||
|
||||
```sh
|
||||
yarn global add hydro @hydro/ui-default
|
||||
```
|
||||
|
||||
运行:
|
||||
|
||||
```sh
|
||||
hydrooj
|
||||
```
|
||||
|
||||
注意:单个Hydro实例需要约100MB的运行内存,但在载入时可能需要较多内存(取决于安装的模块数量与大小)
|
||||
|
||||
Reference in new issue
Block a user