Skip to Content

Get Ready to Develop on Your Local Machine

test
0 %
Get Ready to Develop on Your Local Machine
Details
// Explore More Tutorials

Get Ready to Develop on Your Local Machine

06/06/2019

Prepare you local development environment to implement successful SAPUI5 projects.

You will learn

  • How to install the Yeoman scaffolding tool
  • How to install the easy-ui5 generator plugin for Yeoman
  • How the Multi-Target Application (MTA) build tool for Cloud Foundry works


Step 1: Install Yeoman

Yeoman is an Open Source scaffolding tool for modern web-apps. It helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.

Install the module globally:

npm install -g yo
Log on to answer question
Step 2: Install the easy-ui5 generator

In order to use Yeoman to create SAPUI5 projects, we need to install a plugin (another npm module). Yeoman recognizes all plugins automatically on the basis of the generator- prefix of the module.

npm install -g yo generator-easy-ui5

This plugin has also been published on GitHub.

Log on to answer question
Step 3: Verify the installations

Use the following command to test whether the installation has been successful.

yo

You should see the Easy Ui5 generator in the list of generators:

EasyUI5

This plugin has also been published on GitHub.

Log on to answer question
Step 4: Install the MTA build tool

Cloud-native applications are being ship as so called mta archives. The Multi-target Application Archive Builder is a standalone command-line tool that builds a deployment-ready multi-target application archive .mtar file. You can leverage npm to install this tool as well:

npm install -g mbt

Run mbt --help to see all available commands.

Which commands are supported by the Multi-target Application Archive Builder?
×
Step 5: Install Make

You might be able to skip this step. Usually, users of unix-based OS already have make preinstalled. Verify that make is installed with.

make -v

If you are using Windows and need to install make by following these instructions:

choco install make
Log on to answer question

Next Steps

Back to top