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 hanacloudui5
Generator for a UI5 project with MTA structure
<script type="module">
import generatorHanacloudui5 from 'https://cdn.skypack.dev/generator-hanacloudui5';
</script>
Generator which use the official UI5 tooling from ui5-community and support multiple deployment targets such as the SAP Business Technology Platform.
gt; npm i -g yo gt; yo hanacloudui5 project _-----_ | | ╭──────────────────────────────╮ |--(o)--| │ Welcome to the hanacloudui5 │ `---------´ │ generator! │ ( _´U`_ ) ╰──────────────────────────────╯ /___A___\ / | ~ | __'.___.'__ ´ ` |° ´ Y `
Run you can use npm start
(or yarn start
) to start the local server for development.
Note the different greeting when the generator starts.
gt; npm i -g yo
gt; yo ./generator-hanacloudui5
_-----_ ╭──────────────────────────────╮
| | │ Welcome to the │
|--(o)--| │ hanacloudui5-project │
`---------´ │ generator! │
( _´U`_ ) ╰──────────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
During the prompting phase, the generator will ask on which target platform your app should run. Currently, the following options are available:
This option is a more sophisticate way to serve the web app from Cloud Foundry-based environments.
Depending on your target platform you'll need to install additional tools:
Deployment steps:
Call this command from the root directory to deploy the application to Cloud Foundry
npm run deploy
This project leverages (among others) the following Open Source projects:
Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.
We welcome any type of contribution (code contributions, pull requests, issues) to this generator equally.