generator-abcs

Generator for a UI5 project with MTA structure

Usage no npm install needed!

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

README

Generator for UI5 projects in MTA folder structure

Generator which use the official UI5 tooling from ui5-community and support multiple deployment targets such as the SAP Business Technology Platform.

Usage with UI5_MTA

gt; npm i -g yo
gt; yo UI5_MTA project

     _-----_
    |       |    ╭──────────────────────────────╮
    |--(o)--|    │  Welcome to the UI5_MTA      │
   `---------´   │        generator!            │
    ( _´U`_ )    ╰──────────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Run you can use npm start (or yarn start) to start the local server for development.

Standalone usage

Note the different greeting when the generator starts.

gt; npm i -g yo
gt; yo ./generator-UI5_MTA

     _-----_     ╭──────────────────────────────╮
    |       |    │      Welcome to the          │
    |--(o)--|    │     UI5_MTA-project          │
   `---------´   │        generator!            │
    ( _´U`_ )    ╰──────────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Target platforms

During the prompting phase, the generator will ask on which target platform your app should run. Currently, the following options are available:

SAP HTML5 Application Repository service for SAP BTP

This option is a more sophisticate way to serve the web app from Cloud Foundry-based environments.

Deployment

Depending on your target platform you'll need to install additional tools:

Cloud Foundry

Deployment steps:

Call this command from the root directory to deploy the application to Cloud Foundry

npm run deploy

Embedded Technologies

This project leverages (among others) the following Open Source projects:

Support

Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.

Contributing

We welcome any type of contribution (code contributions, pull requests, issues) to this generator equally.