In the following steps, you will deploy the built multi-target application to your SAP BTP, Cloud Foundry Runtime:
-
Once your Multi-Target Application Archive is built, please ensure you are logged in to your target Cloud Foundry Space by running the following command. (Re-)Login if required.
Hint - In this tutorial we assume a basic understanding of the Cloud Foundry deployment process. Please make sure you successfully installed the Cloud Foundry CLI in your development environment before you continue.
# Check target Org and Space # cf target # (Re-)Login if required # cf login -a "https://api.cf.<Region>.hana.ondemand.com"
-
Make sure you have the MultiApps CF CLI Plugin installed.
Hint - You can find further details on the following website https://github.com/cloudfoundry/multiapps-cli-plugin.
cf install-plugin multiapps
-
Start the deployment to Cloud Foundry, by running the following command.
# Run in project's root folder # npm run deploy -
The deployment process will take a while. Wait for the process to finish successfully and also check in the SAP BTP Cockpit if all service instances have been created successfully.
