3 Star 0 Fork 0

Gitee 极速下载/brms-coolstore-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/eschabell/brms-coolstore-demo.git
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init-docker.ps1 4.84 KB
一键复制 编辑 原始数据 按行查看 历史
# wipe screen
Clear-Host
$PROJECT_HOME = $PSScriptRoot
$DEMO="JBoss BRMS Red Hat Cool Store Demo"
$AUTHORS1="Jason Milliron, Andrew Block,"
$AUTHORS2="AMahdy AbdElAziz, Eric D. Schabell"
$AUTHORS3="Duncan Doyle, Jaen Swart"
$PROJECT="git@github.com:jbossdemocentral/brms-coolstore-demo.git"
$PRODUCT="JBoss BRMS"
$DOCKERFILE="support\docker\Dockerfile"
$SRC_DIR="$PROJECT_HOME\installs"
$SUPPORT_DIR="$PROJECT_HOME\support"
$BRMS="jboss-brms-6.4.0.GA-deployable-eap7.x.zip"
$EAP="jboss-eap-7.0.0-installer.jar"
$VERSION="6.4"
set NOPAUSE=true
Write-Host "##############################################################"
Write-Host "## ##"
Write-Host "## Setting up the $DEMO ##"
Write-Host "## ##"
Write-Host "## ##"
Write-Host "## #### #### # # ### ##"
Write-Host "## # # # # # # # # # ##"
Write-Host "## #### #### # # # ## ##"
Write-Host "## # # # # # # # ##"
Write-Host "## #### # # # # ### ##"
Write-Host "## ##"
Write-Host "## ##"
Write-Host "## brought to you by, ##"
Write-Host "## $AUTHORS1 ##"
Write-Host "## $AUTHORS2 ##"
Write-Host "## $AUTHORS3 ##"
Write-Host "## ##"
Write-Host "## $PROJECT ##"
Write-Host "## ##"
Write-Host "##############################################################`n"
If (Test-Path "$SRC_DIR\$EAP") {
Write-Host "Product sources are present...`n"
} Else {
Write-Host "Need to download $EAP package from the Customer Support Portal"
Write-Host "and place it in the $SRC_DIR directory to proceed...`n"
exit
}
#If (Test-Path "$SRC_DIR\$EAP_PATCH") {
# Write-Host "Product patches are present...`n"
#} Else {
# Write-Host "Need to download $EAP_PATCH package from the Customer Support Portal"
# Write-Host "and place it in the $SRC_DIR directory to proceed...`n"
# exit
#}
If (Test-Path "$SRC_DIR\$BRMS") {
Write-Host "Product sources are present...`n"
} Else {
Write-Host "Need to download $BRMS package from the Customer Support Portal"
Write-Host "and place it in the $SRC_DIR directory to proceed...`n"
exit
}
Copy-Item "$SUPPORT_DIR\docker\Dockerfile" "$PROJECT_HOME" -force
Write-Host "Starting Docker build.`n"
$argList = "build -t jbossdemocentral/brms-coolstore-demo $PROJECT_HOME"
$process = (Start-Process -FilePath docker.exe -ArgumentList $argList -Wait -PassThru -NoNewWindow)
Write-Host "`n"
If ($process.ExitCode -ne 0) {
Write-Error "Error occurred during Docker build!"
exit
}
Write-Host "Docker build finished.`n"
Remove-Item "$PROJECT_HOME\Dockerfile" -Force
Write-Host "=================================================================================="
Write-Host "= ="
Write-Host "= You can now start the $PRODUCT in a Docker container with: ="
Write-Host "= ="
Write-Host "= docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/brms-coolstore-demo ="
Write-Host "= ="
Write-Host "= Login into business central at: ="
Write-Host "= ="
Write-Host "= http://localhost:8080/business-central (u:brmsAdmin / p:jbossbrms1!) ="
Write-Host "= ="
Write-Host "= Login into the Coolstore application at: ="
Write-Host "= ="
Write-Host "= http://localhost:8080/brms-coolstore-demo ="
Write-Host "= ="
Write-Host "= See README.md for general details to run the various demo cases. ="
Write-Host "= ="
Write-Host "= $PRODUCT $VERSION $DEMO Setup Complete. ="
Write-Host "= ="
Write-Host "================================================================================"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/brms-coolstore-demo.git
git@gitee.com:mirrors/brms-coolstore-demo.git
mirrors
brms-coolstore-demo
brms-coolstore-demo
master

搜索帮助