cap-js / incidents-app

21 stars 15 forks source link

build OCI image with `/app` #56

Closed stb1337 closed 4 months ago

stb1337 commented 6 months ago

Hello colleagues,

i am able to run incidents-app locally and access the /app ui.

When following https://cap.cloud.sap/docs/guides/deployment/to-kyma, I am able to build, push and deploy incidents-app on a BTP Kyma cluster but without the /app ui.

How can I also include the /app into my build in order to have it available on my BTP Kyma cluster?

locally started incidents-app: image

deployed incidents-app on BTP Kyma: image

Cheers, Steffen

chgeo commented 6 months ago

@cap-js/adapters @DanSchlachter can you help here for the Kyma deployment?

@stb1337 please do not share SAP-internal site URLs here on github.com. Either use external resources only, or use the SAP-internal channels like cap/issues for issues or SAP stack.

navinkrishnan commented 6 months ago

Hi @stb1337 , For running the application in BTP Kyma runtime, the recommendation is to push the UI (static content) to the HTML5 repository and use the Standalone or managed approuter to serve the content and consume the OData from srv. Please follow the steps related to building UI deployer image. https://developers.sap.com/tutorials/deploy-to-kyma.html#04fc0eb9-c42c-4145-ae54-e1e3c80b3fd8