All Projects → SAP → Openui5 Sample App

SAP / Openui5 Sample App

Licence: other
OpenUI5 Sample App

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Openui5 Sample App

AndroidDevelop
This is my Android development Demo collection
Stars: ✭ 31 (-83.94%)
Mutual labels:  sample, demo-app
Fluttergames
Flutter app for purchasing and renting games.
Stars: ✭ 182 (-5.7%)
Mutual labels:  sample
Play Scala Isolated Slick Example
Example Play Slick Project
Stars: ✭ 155 (-19.69%)
Mutual labels:  sample
Kotlin Full Stack Application Demo
Full-stack demo application written with Kotlin MPP
Stars: ✭ 165 (-14.51%)
Mutual labels:  sample
Randomdata
Random data generator
Stars: ✭ 157 (-18.65%)
Mutual labels:  sample
Weapp demos
持续更新中的微信小程序和小游戏的源码案例库。目前涵盖了120多个微信小程序或小游戏。
Stars: ✭ 2,466 (+1177.72%)
Mutual labels:  demo-app
Redux React Navigation Demos
React-Native + Redux + Redux-Persist + React Navigation ( Authentication Flow with Redux demos)
Stars: ✭ 151 (-21.76%)
Mutual labels:  demo-app
Chatify Demo
Chatify Laravel Package Demo application
Stars: ✭ 189 (-2.07%)
Mutual labels:  demo-app
Reactnativeuniversal
A demonstration of sharing javascript react-native code between mobile, desktop and web environments
Stars: ✭ 178 (-7.77%)
Mutual labels:  sample
Play Java Starter Example
Play starter project in Java (ideal for new users!)
Stars: ✭ 164 (-15.03%)
Mutual labels:  sample
Clean Architecture Swiftui
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Stars: ✭ 2,925 (+1415.54%)
Mutual labels:  sample
Pointasnl
PointASNL: Robust Point Clouds Processing using Nonlocal Neural Networks with Adaptive Sampling (CVPR 2020)
Stars: ✭ 159 (-17.62%)
Mutual labels:  sample
Textdetection
Vision Framework Demo on Text Detection
Stars: ✭ 173 (-10.36%)
Mutual labels:  demo-app
Workoutwotch
Repository for my video series on building an iOS app in .NET.
Stars: ✭ 156 (-19.17%)
Mutual labels:  sample
Nodejs Docs Samples
Node.js samples for Google Cloud Platform products.
Stars: ✭ 2,309 (+1096.37%)
Mutual labels:  sample
Pyentropy
Entropy for Python
Stars: ✭ 149 (-22.8%)
Mutual labels:  sample
Abap Platform Rap Opensap
Samples for the openSAP course "Building Apps with the ABAP RESTful Application Programming model (RAP)."
Stars: ✭ 163 (-15.54%)
Mutual labels:  sample
Unitymathreference
Math reference for games and more. All visualized in Unity3D.
Stars: ✭ 166 (-13.99%)
Mutual labels:  sample
Cognitive Face Ios
iOS SDK for the Microsoft Face API, part of Cognitive Services
Stars: ✭ 191 (-1.04%)
Mutual labels:  sample
Estmusicplayer
An elegant and simple iOS music player.
Stars: ✭ 2,165 (+1021.76%)
Mutual labels:  demo-app

OpenUI5 logo

openui5-sample-app

OpenUI5 sample app using the UI5 Tooling.

REUSE status

Prerequisites

Getting started

  1. Clone this repository and navigate into it

    git clone https://github.com/SAP/openui5-sample-app.git
    cd openui5-sample-app
    
  2. Install all dependencies

    npm install
    
  3. Start a local server and run the application (http://localhost:8080/index.html)

    ui5 serve -o index.html
    

Testing

  • Run ESLint code validation
    npm run lint
    
  • Start the Karma Test Runner with the UI5 Plugin and execute the tests automatically after every change
    npm run watch
    
  • Run both ESLint and Karma in CI mode
    npm test
    

Building

Option 1: Standard preload build

  1. Execute the build
    ui5 build -a
    
  2. Run the result
    1. Run a local HTTP server on the build results (/dist directory)
      (Note: This script is using the local-web-server npm module, but you can use any HTTP server for that)
      npm run serve-dist
      
    2. Open the app at http://localhost:8000

Option 2: Self-contained build

  1. (Optional) Remove previous build results
    rm -rf ./dist
    
  2. Execute the self-contained build to create a bundle with all of your applications runtime dependencies
    ui5 build self-contained -a
    
  3. Run the result
    1. Run a local HTTP server on the build results (/dist directory)
      (Note: This script is using the local-web-server npm module, but you can use any HTTP server for that)
      npm run serve-dist
      
    2. Open the app at http://localhost:8000

Working with local dependencies

For local development of your applications' dependencies (like OpenUI5 libraries) you can link them by using Yarn. This will allow you to make changes to your applications dependencies locally and see the impact in your application immediately.

Note: Currently only Yarn understands the workspace package setting used in the OpenUI5 repository. If you do not plan to work with OpenUI5 you might as well use npm. But keep in mind that linking the same module with npm and Yarn might lead to issues. Also, Yarn can't work with links created by npm and vice versa. See FAQ: What's the thing with yarn? for details.

Prerequisites

Preparation

The following needs to be done just once per setup.

  1. Clone the OpenUI5 repository and navigate into it Note: The UI5 version must be 1.65.0 or higher, you can check that in the root package.json file
    git clone https://github.com/SAP/openui5.git
    cd openui5
    
  2. Install all dependencies (this also links all OpenUI5 libraries between each other)
    yarn
    
  3. Make all projects available as global links. Note: The OpenUI5 project uses wsrun to link all libraries with one command. See Linking Projects for general information about project linking.
    In the OpenUI5 root directory, execute:
    yarn run link-all
    
  4. The UI5 Tooling currently does not support linking of framework libraries defined in the ui5.yaml (see [RFC] 0006 Local Dependency Resolution). Therefore you need to first remove them from there. Instead, you need to add the dependencies via Yarn, so that they can be linked in the next step.
    In the application directory, execute:
    ui5 remove sap.f sap.m sap.ui.core sap.ui.unified themelib_sap_fiori_3
    
    yarn add @openui5/sap.f
    yarn add @openui5/sap.m
    yarn add @openui5/sap.ui.core
    yarn add @openui5/sap.ui.unified
    yarn add @openui5/themelib_sap_fiori_3
    

Linking

  1. In your application directory: Link the required OpenUI5 libraries
    yarn link @openui5/sap.f
    yarn link @openui5/sap.m
    yarn link @openui5/sap.ui.core
    yarn link @openui5/sap.ui.unified
    yarn link @openui5/themelib_sap_fiori_3
    

You can now make changes in your local OpenUI5 repository and see the impact directly when serving or building your application.

Unlinking

To return to using the OpenUI5 npm packages

  1. Remove the dependencies via Yarn
    yarn remove @openui5/sap.f
    yarn remove @openui5/sap.m
    yarn remove @openui5/sap.ui.core
    yarn remove @openui5/sap.ui.unified
    yarn remove @openui5/themelib_sap_fiori_3
    
  2. Re-add the libraries to the framework section of the ui5.yaml
    ui5 add sap.f sap.m sap.ui.core sap.ui.unified themelib_sap_fiori_3
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].