Easy-ui5 is a Yeoman generator which enables you to create simple OpenUI5-based web-apps within seconds.
This generator has been created to simplify the creation of your OpenUI5 prototypes. Now you can scaffold simple UI5 projects from the shell/terminal of your choice. The current best practices (such as async) are already baked into our templates so you don't have to worry about the definition of the metadata files.
The purpose of this generator is to guide you on your first steps with SAPUI5 and SAP Cloud Platform deployments. Once you are familiar with those technologies, you might want to tweak the projects to adapt them for productive use-cases (such as continuous deployment pipelines and full i18n).
- Get Node.js (version 8.5 or higher)
- Install the generator
npm install -g yo generator-easy-ui5
- Verify your installation to see if Yeoman has been installed correctly
Make sure you see the
yo
easy-ui5
generator listed.
- Scaffold your OpenUI5 project
yo easy-ui5
- Answer the prompts to create your OpenUI5 project
- Run it locally
cd <your project name> npm start
This sub-generator will create a new view (of the same type you specified during the creating of your project) and a new controller.
yo easy-ui5:newview
Run the following command from your project's root to scaffold a custom control.
yo easy-ui5:newcontrol
Depending on your target platform you'll need to install additional tools:
- Create a free SAP Cloud Platform Cloud account
- Set your environment up and connect to your Cloud Foundry endpoint
cf login
- Install the MultiApps CF CLI Plugin
- Download the Multi-Target Application Archive Builder to SAP Cloud Platform, Cloud Foundry Environment
Call this command from the root directory to deploy the application to Cloud Foundry
npm run deploy-to-cf
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 easy-ui5 generator equally.
Please follow our instructions if you would like to contribute.
The following aspects/features are not yet implemented:
- Tests / Continuous Integration Workflow
- Call
git init
after project creation - Add more target platforms:
- Neo env
- SAP HANA
- SAP NetWeaver
Contributions are very much appreciated. š„³
Copyright (c) 2019 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.