mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
auto-create user & set admin
This commit is contained in:
1 parent
172f7385ad
commit
32967093c6
1 file changed
+3
-2
+3
-2
@@ -5,10 +5,11 @@ tasks:
|
|||||||
yarn
|
yarn
|
||||||
pm2 start mongod
|
pm2 start mongod
|
||||||
pm2 start "MINIO_ACCESS_KEY=hydro MINIO_SECRET_KEY=hydrohydro minio server /home/gitpod/file" --name minio
|
pm2 start "MINIO_ACCESS_KEY=hydro MINIO_SECRET_KEY=hydrohydro minio server /home/gitpod/file" --name minio
|
||||||
pm2 start "/workspace/.cargo/bin/sonic -c /workspace/.cargo/registry/src/github.com-1ecc6299db9ec823/sonic-server-1.3.0/config.cfg" --name sonic
|
pm2 start "/home/gitpod/.cargo/bin/sonic -c /home/gitpod/.cargo/registry/src/github.com-1ecc6299db9ec823/sonic-server-1.3.0/config.cfg" --name sonic
|
||||||
systemctl start sonic-server
|
|
||||||
yarn build
|
yarn build
|
||||||
yarn build:ui
|
yarn build:ui
|
||||||
|
npx hydrooj cli user create root@hydro.local root rootroot
|
||||||
|
npx hydrooj cli user setSuperAdmin 2
|
||||||
yarn debug
|
yarn debug
|
||||||
vscode:
|
vscode:
|
||||||
extensions:
|
extensions:
|
||||||
|
|||||||
Reference in new issue
Block a user