mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
w: add docker installation (#152)
This commit is contained in:
1 parent
715e564971
commit
7b75a961bc
7 files changed
+174
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
ROOT=/root/.config/hydro
|
||||
|
||||
mkdir -p $ROOT
|
||||
|
||||
if [ ! -f "$ROOT/judge.yaml" ]; then
|
||||
cp /root/judge.yaml $ROOT
|
||||
fi
|
||||
|
||||
pm2 start sandbox
|
||||
pm2-runtime start hydrojudge
|
||||
Reference in new issue
Block a user