Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 991 Bytes

1-BuildTheComponents.md

File metadata and controls

36 lines (24 loc) · 991 Bytes

Build the components

In the following steps, you will build a multi-target application which can be deployed to your SAP BTP, Cloud Foundry Runtime:

  1. 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
  2. Please switch to the single-tenant/deploy/cf directory.

    cd single-tenant/deploy/cf
  3. Make sure you have the required TypeScript dependencies installed globally.

    npm i -g typescript ts-node tsx
  4. Make sure you have the Cloud MTA Build Tool (MBT) installed globally.

    npm install -g mbt
  5. Please run the following command to build your mtar file.

    # Run in ./single-tenant/deploy/cf #
    npm run build:mbt
  6. Once your Multi-Target Application Archive is built successfully, you can continue deploying your application (click here).