In the following steps, you will build a multi-target application which can be deployed to your SAP BTP, Cloud Foundry Runtime:
-
If not done yet, please (fork and) clone the repository to your development environment.
git clone https://github.com/SAP-samples/btp-cap-genai-rag
-
Please switch to the single-tenant/deploy/cf directory.
cd single-tenant/deploy/cf
-
Make sure you have the required TypeScript dependencies installed globally.
npm i -g typescript ts-node tsx
-
Make sure you have the Cloud MTA Build Tool (MBT) installed globally.
npm install -g mbt
-
Please run the following command to build your mtar file.
# Run in ./single-tenant/deploy/cf # npm run build:mbt
-
Once your Multi-Target Application Archive is built successfully, you can continue deploying your application (click here).