Yeoman Generator to jump-start Full-Stack Cloud Applications
This generator creates projects using SAP Cloud Application Programming Model (CAP)
npm install -g yo npm install -g generator-saphanaacademy-cap
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:
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
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.
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.