How to deploy UI5 application on HCP(CloudFoundry)
We can use SAP HANA Cloud Platform(HCP) to help us get access for Cloud Foundry, in the official site of HCP we can see the introduction of product HCP, Starter Edition for Cloud Foundry Services which is managed by the Cloud Foundry Foundation.
the Getting Started explains how to set up cloud foundry and deploy your applications:
https://uacp2.hana.ondemand.com/viewer/hcp_cf/b8ee7894fe0b4df5b78f61dd1ac178ee.html
I’ll show you how to deploy my UI5 application on cloud foundry step by step.
Prerequisites:
- your UI5 application needs to be able to run without additional web container, I use nodejs to run my sample application.
- user account on YaaS
register url:https://www.yaas.io/register/
- user account on HCP
register url:https://accounts.sap.com/ui/public/showRegisterForm?spName=cf.us10.hana.ondemand.com
step 1: Sign Up
You can create your own organization on the Cloud Foundry instance that you can use to develop, deploy and run applications.
Procedure(if you already have organization and project on your YaaS account, your can start with 3):
- Access YaaS Builder at https://builder.yaas.io/
- Create an Organization and a Project, click CREATE ORGANIZATION in the Welcome to YaaS page
click on Administration in the left tree then chose Projects to create a project:
As Woppmann, Bjoern suggested, I paste my Local.js here which is used to dispatch requests and start server.
New NetWeaver Information at SAP.com
Very Helpfull