代码拉取完成,页面将自动刷新
同步操作将从 Chameleon/zilla-push 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
echo [Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME.
echo [Pre-Requirement] Makesure install Maven 3.0.3+ and set the PATH.
set MVN=mvn
set MAVEN_OPTS=%MAVEN_OPTS% -XX:MaxPermSize=128m
echo [Step 1] Install all bsl-push modules to local maven repository.
call %MVN% clean install -Dmaven.test.skip=true
if errorlevel 1 goto error
echo [Step 2] Start push-server and push-console.
cd push-server
start "Push-Server" %MVN% clean jetty:run -Djetty.port=18861
if errorlevel 1 goto error
cd ..\push-console
start "Push-Console" %MVN% clean jetty:run
if errorlevel 1 goto error
cd ..\
echo [INFO] Please wait a moment. When you see "[INFO] Started Jetty Server" in both 2 popup consoles, you can access below demo sites:
echo [INFO] http://localhost:18861/push-server
echo [INFO] http://localhost:8080/push-console
goto end
:error
echo Error Happen!!
:end
pause
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。