cras
v1.0.8
Published
cras cli
Downloads
34
Maintainers
Readme
cras
CLI to create a React Application built on UI5 React Web Components This creates a Fiori style React application with an MTA (Multi Target Application) deployment configuration The application runs with the managed approuter and is ready to be run on the Fiori LaunchPad
Prerequisites
- install CF cli
- https://docs.cloudfoundry.org/cf-cli/install-go-cli.html#pkg
- install CF html5 plugin
- https://github.com/SAP/cf-html5-apps-repo-cli-plugin
- install mbt cli
- https://sap.github.io/cloud-mta-build-tool/download/
Create
$ cras fiori
After completion go to your newly created folder
Build
In your main folder for your mta project
$ npm run build:mta
Deploy
In your main folder for your mta project This script also does a build:mta
$ npm run deploy:mta
Dev:
test: node . fiori test global:
- npm install -g .
- cras fiori