generator-saphanaacademy-cap

Yeoman Generator to jump-start Full-Stack Cloud Applications

Usage no npm install needed!

<script type="module">
  import generatorSaphanaacademyCap from 'https://cdn.skypack.dev/generator-saphanaacademy-cap';
</script>

README

generator-saphanaacademy-cap NPM version Build Status Dependency Status

Yeoman Generator to jump-start Full-Stack Cloud Applications

Installation

This generator creates projects using SAP Cloud Application Programming Model (CAP)

First, install Yeoman and generator-saphanaacademy-cap using npm

npm install -g yo
npm install -g generator-saphanaacademy-cap

We assume you have pre-installed node.js and the Cloud Foundry CLI with the multiapps plugin.

In order to build the project ensure @sap/cds-dk and Cloud MTA Build Tool (MBT) are installed.

This is already the case for SAP Business Application Studio.

If using SAP HANA Cloud ensure you have an instance in the space where you'll be deploying the app.

If using the HTML5 Application Repository ensure you have subscribed to the SAP Launchpad service in the subaccount where you'll be deploying the app.

If enabling Continuous Integration and Delivery (CI/CD) ensure you have subscribed to the Continuous Integration & Delivery service and optionally the Transport Management service in the subaccount where you'll be deploying the app.

Also ensure that you are logged in to the Cloud Foundry CLI and are targeting the org and space into which you want to deploy the app.

To generate your new project:

yo saphanaacademy-cap

To refresh project files for an existing SAP HANA Cloud schema:

cd <project-folder>
yo saphanaacademy-cap:schema

To refresh project files for an existing SAP HANA Cloud HDI Container:

cd <project-folder>
yo saphanaacademy-cap:hdi

To refresh project files for SAP Graph:

cd <project-folder>
yo saphanaacademy-cap:graph

SAP Business Application Studio

Video Tutorials

For hands-on video tutorials click here.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.