This repository contains the sample projects which are discussed in blog Designing UI5 Apps for SAP Launchpad Service – Part 1.
- An SAP BTP account with a Cloud Foundry space
- A subscription of SAP Launchpad Service
- A Node.js installation
- CF CLI
- MBT build tool requires "make", which is only available on Linux or in SAP Business Application Studio. When running on Windows you need to install "make" as described here
- Multi-Target Application Cloud Foundry CLI Plugin (CF MTA Plugin) from SAP Development Tools
To deploy the consumed sample service (required for split destination scenario):
- Login to cf cli
- Go to the btp-samples-consumed-service directory
- npm install
- npm run build:mta
- npm run deploy
- cf create-service-broker btp-samples-consumed-service brokerUser business_service_broker_password https://btp-samples-consumed-service-broker.cfapps..hana.ondemand.com --space-scoped
To deploy one of the samples to your space:
- Login to cf cli
- Go to a samples directory
- If the mta.yaml file contains a placeholder {YOURDOMAIN}, replace it with the subdomain of the target subaccount
- npm install
- npm run build:mta
- npm run deploy
- Subscribe the Launchpad service to your sub account
- Go to Launchpad configuration -> Content Providers and sync the HTML5 Apps provider
- Configure the app for your site
In case you need any support, please create a GitHub issue or post a comment on the blog post.
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.