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
-
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 i -g mbt
-
Please run the following command to build your mtar file.
# Run in project's root folder # npm run build:mbt -
Once your Multi-Target Application Archive is built successfully, you can continue deploying your application (click here).