简体   繁体   English

将Spring-boot Backbone应用程序部署到Pivotal Cloud Foundry中

[英]Deploying spring-boot Backbone application into Pivotal Cloud Foundry

My application is on spring-boot and Backbone.js based. 我的应用程序基于spring-boot和Backbone.js。 Can I deploy this application to Pivotal Cloud Foundry? 我可以将此应用程序部署到Pivotal Cloud Foundry吗? If yes, How can I proceed? 如果是,我该如何进行?

Use webpack to package your application. 使用webpack打包您的应用程序。

This link will give you an idea. 该链接将给您一个想法。 https://keyholesoftware.com/2015/11/16/backbonejs-with-webpack-a-lesson-in-optimization/ https://keyholesoftware.com/2015/11/16/backbonejs-with-webpack-a-lesson-in-optimization/

If you want a good example, look at willitconnect . 如果您想要一个很好的例子,请查看willitconnect It doesn't use Backbone, but you will get the idea. 它不使用Backbone,但是您会明白的。

Here's another example - http://justincalleja.com/2016/04/17/serving-a-webpack-bundle-in-spring-boot/ 这是另一个示例-http://justincalleja.com/2016/04/17/serving-a-webpack-bundle-in-spring-boot/

Give it a try. 试试看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 STS 在 Pivotal Cloud Foundry 部署示例应用程序(Spring Boot 1.3.4、JSP、WAR Packaging)时出错 - Error deploying the example application (Spring Boot 1.3.4, JSP, WAR Packaging) at Pivotal Cloud Foundry using STS 关键云铸造厂春季引导嵌入式tomcat - pivotal cloud foundry spring boot embedded tomcat 使用关键的云代工厂redis和rabbitmq服务在spring启动应用程序中使用vcap服务 - Use pivotal cloud foundry redis and rabbitmq service using as vcap service in spring boot application Pivotal Cloud Foundry(PCF)弹簧启动应用程序停止运行且没有错误 - Pivotal Cloud Foundry (PCF) spring boot application stops working without error 将 spring-boot 应用程序部署到云代工厂时出现 java.lang.NoSuchMethodException - java.lang.NoSuchMethodException when deploying spring-boot app to cloud foundry 在关键云代工厂中使用受信任的 SSL 证书和 spring 引导 - Use trusted SSL certificate with spring boot in pivotal cloud foundry Spring Boot先失败,然后在Pivotal Cloud Foundry中自动启动 - Spring boot rashes first and then start automatically in Pivotal Cloud Foundry Spring 引导开发工具远程导致 Pivotal Cloud Foundry 出现错误 - Spring Boot Devtools Remote cause error at Pivotal Cloud Foundry Pivotal Cloud Foundry中的UI应用程序 - UI application in Pivotal Cloud Foundry Pivotal Cloud Foundry - 应用程序日志记录 - Pivotal Cloud Foundry - Application Logging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM