This commit is contained in:
Daniel
2026-04-01 19:57:47 +08:00
parent 1d0e0430ab
commit 53d17883ac
4505 changed files with 1659892 additions and 6 deletions

16
start.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env sh
set -eu
PROJECT_ROOT=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
if [ ! -f "${PROJECT_ROOT}/scripts/docker-up.sh" ]; then
echo "未找到脚本: scripts/docker-up.sh"
exit 1
fi
if command -v bash >/dev/null 2>&1; then
exec bash "${PROJECT_ROOT}/scripts/docker-up.sh"
fi
echo "当前系统未找到 bash无法运行 scripts/docker-up.sh"
exit 1