1 Star 0 Fork 0

xiaoshi/gridstudio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.sh 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
if [[ "$OSTYPE" == "msys" ]]; then
if [ ! "$(docker ps -a | grep gridstudio)" ]; then
WIN_PWD=$PWD
WIN_PWD=$(echo $WIN_PWD | sed -r 's/[/]+/\\/g')
WIN_PWD=$(echo $WIN_PWD | sed -r 's/\\([a-z])\\+/\U\1:\\/g')
docker run --name=gridstudio --rm=false -v $WIN_PWD\\grid-app:/home/source -v $WIN_PWD\\grid-app\\proxy\\userdata:/home/userdata -p 8080:8080 -p 4430:4430 ricklamers/gridstudio:release
else
echo "gridstudio container detected - starting container - want to do a full restart? Run destroy.sh first."
docker start gridstudio
fi
else
if [ ! "$(docker ps -a | grep gridstudio)" ]; then
docker run --name=gridstudio --rm=false -v $PWD/grid-app:/home/source -v $PWD/grid-app/proxy/userdata:/home/userdata -p 8080:8080 -p 4430:4430 ricklamers/gridstudio:release
else
echo "gridstudio container detected - starting container - want to do a full restart? Run destroy.sh first."
docker start gridstudio
fi
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dlshi/gridstudio.git
git@gitee.com:dlshi/gridstudio.git
dlshi
gridstudio
gridstudio
master

搜索帮助