-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以给一份打包部署的方案吗? #49
Comments
有两个方案:
方案1 拉模式
1:在本地编译代码打包成JAR包。
2:把JAR上传到一个远程文件服务器,比如阿里云的OSS。
3:应用从远程服务器下载JAR,可以把配置信息存放在JAR里,比如版本号,JAR名。
方案2 推模式
1:在本地编译代码打包成JAR包。
2:把JAR直接SCP到服务器上的某个目录。
3:应用检查服务指定目录的JAR是否有更新,如果有更新就进行加载。
…-----------------------------
方腾飞/kiral 并发编程网创始人
Email:tengfei@ifeve.com
微信公众号:ifeves
weibo:@方腾飞-清英
Web:http://ifeve.com
On 3 Apr 2018, at 3:51 PM, 王志远 ***@***.***> wrote:
可以给一份打包部署的方案吗?
比如,子模块怎么打包动态发布会比较便捷?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#49>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADpZWGVxwmqSHRNV30y9BoybYvqVMrOXks5tkyoMgaJpZM4TEm9P>.
|
那么本地测试的话,都只能用拷贝jar的形式来运行吗? 例如: ├─mod-main |
我用maven-antrun-plugin解决了 |
可以给一份打包部署的方案吗?
比如,子模块怎么打包动态发布会比较便捷?
The text was updated successfully, but these errors were encountered: