generator-gavdicapts
Gavdi CAP TS generator
The generator initializes a CAP Typescript project, including:
- Basic CDS service with custom implementation for reading from SF
- Destination setup to SuccessFactors (requires a destination named SF)
- Test UI connected to the service, which can be used as template to add more apps, or to test the service
- Full deployment configuration, mta, routes, etc
- Development scripts
- Docker configuration
Installation
First, install Yeoman and generator-gavdicapts using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-gavdicapts
This repository is for the generator. You don't need to clone it (unless you want to contribute to the generator itself), just follow the commands above to install it.
Usage
FILES WILL BE INITIALIZED IN THE CURRENT DIRECTORY. PLEASE MAKE SURE YOU ARE ON THE RIGHT PLACE.
Run:
yo gavdicapts
- It will only ask for a name, namespace and title for setting up the project
- Then it runs
npm install
on both the root and the test app folder (this part might fail) - When it finishes, you can login to BTP and run script
deploy
from package.json and it should work