Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 843 Bytes

File metadata and controls

33 lines (23 loc) · 843 Bytes

Codemate-Core

The core & admin of Codemate.

Hydro README, Hydro Docs.

Deploy & Start

git clone https://github.com/codemateDao/codemate-core.git
cd codemate-core
docker-compose up -d

The Hydro server will be started at port 8888.

Create a SuperAdmin Account

docker exec -it codemate-core-hydro-1 /bin/sh
# Create a user "admin", uid=2
npx hydrooj cli user create admin_email@example.com admin 123456 2
# Gave this user super admin
npx hydrooj cli user setSuperAdmin 2
# Quit the docker shell
exit

FAQ

Q: 我的Typescript挂了(比如一直重启中)怎么办?

该项目的tsconfig.json依赖postinstallhook运行build/prepare.js来生成,如果你的TS挂了,很可能是该脚本没有正常运行,可以尝试手动运行一次。