简体   繁体   English

Pivotal Cloud Foundry中的UI应用程序

[英]UI application in Pivotal Cloud Foundry

I have a UI application built using Angular , Bootstrap and HTML5 which interacts with number of backend services. 我有一个使用Angular,Bootstrap和HTML5构建的UI应用程序,该应用程序与许多后端服务进行交互。 In order to deploy this application in PCF , should this be converted to a Spring Boot app? 为了在PCF中部署此应用程序,应将其转换为Spring Boot应用程序吗? Or is there a way to use any of available buildpacks to deploy this UI app in PCF? 还是有一种方法可以使用任何可用的构建包在PCF中部署此UI应用程序?

In case there is no need to deploy backend services, I would go with the cloudfoundry static buildpack. 如果不需要部署后端服务,我将使用cloudfoundry静态buildpack。

http://docs.cloudfoundry.org/buildpacks/staticfile/index.html http://docs.cloudfoundry.org/buildpacks/staticfile/index.html

Otherwise you will need to decide how you are going to deploy the backend services for this application. 否则,您将需要决定如何为该应用程序部署后端服务。 There are a number of buildpacks available that could be used for deploying the backend services and delivering the frontend content within the same app (one of them being, as you mentioned the java buildpack that can be used to deploy a spring boot app). 有许多可用的buildpack,可用于在同一个应用程序内部署后端服务和交付前端内容(正如您所提到的,其中一个可用于部署spring boot应用程序的java buildpack)。 Here is a list of available buildpacks: 以下是可用的buildpack列表:

http://docs.cloudfoundry.org/buildpacks/ http://docs.cloudfoundry.org/buildpacks/

Its not needed to convert your application to spring boot, but doing so will definitely make life easier for you, trust me. 不需要我将您的应用程序转换为Spring Boot,但是这样做肯定会让您的生活更轻松,请相信我。 Once u convert ur app to a spring boot right, you can remote debug ur application by jst running ur app as a spring boot app. 一旦将您的应用程序转换为Spring Boot应用程序,您就可以通过jst作为Spring Boot应用程序运行您的应用程序来远程调试您的应用程序。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM