cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Deploy Angular 2 application built with angular-cli on SAP cloud

Former Member
0 Likes
2,417

Hello,

any leads how to deploy angular 2 application which was build with Angular-cli. I tried to deploy successfully on SAP cloud foundry but unable to launch app. I'm getting "not found" on the browser once I launch the app by provided route URL.

thanks in advance..

View Entire Topic
0 Likes

Hi, not sure that answer still is necessary, but just in case might be useful for other people. For deploying angular2 app you need:

1) to use the buildpack for static content

2) to enable pushState feature in file "Staticfile" if your angular app uses default location strategy

3) In my trial account I have created html5 application and pushed code to the git repo which is created once you created html5 app. After this I was able to deploy my code on cloud foundry platform using cockpit