Deploy Fiori App To SAP Cloud Foundry: Unterschied zwischen den Versionen
Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „This article describes how to deploy a SAP Fiori App built locally with Visual Studio Code to SAP Cloud Foundry. It is based on the following article that des…“) |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 46: | Zeile 46: | ||
https://sap.github.io/cloud-mta-build-tool/ | https://sap.github.io/cloud-mta-build-tool/ | ||
https://developers.sap.com/tutorials/cp-cf-install-cliplugin-mta.html | https://developers.sap.com/tutorials/cp-cf-install-cliplugin-mta.html | ||
[[Category:SAP]] | |||
[[Category:HANA]] | |||
[[Category:JavaScript]] |
Version vom 27. Juni 2021, 17:11 Uhr
This article describes how to deploy a SAP Fiori App built locally with Visual Studio Code to SAP Cloud Foundry.
It is based on the following article that describes how to deploy a SAP Fiori App build with SAP Business Application Studio:
https://github.com/SAP-samples/fiori-elements-opensap/blob/main/week3/unit4.md
Prerequisites
Install:
npm i -g mbt npm i -g yo
In case of Windows also install GNU make 4.2.1:
Download from https://github.com/mbuilov/gnumake-windows
Move it to a suitable local directory, i.e. C:\Users\username\AppData\Local\Programs
Add the directory to the PATH
environment variable.
Rename the downloaded file to make.exe
Install cf plugin for deployment:
cf install-plugin -f https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/releases/latest/download/multiapps-plugin.win64
Add Additional Config Files
Deployment config:
npx fiori add deploy-config
Fiori Launchpad config:
npx fiori add flp-config
Build & Deploy
npm run build:mta npm run deploy
Sources
https://blogs.sap.com/2019/11/19/enjoy-our-new-tool-for-building-mta-archives/#_Toc23686887 https://sap.github.io/cloud-mta-build-tool/ https://developers.sap.com/tutorials/cp-cf-install-cliplugin-mta.html