Git Product home page Git Product logo

hello-world-at-scale's Introduction

Hello World at Scale

This application example shows how to use configuration files and device tags for mass demployment.

Description

Overview

This application is based on the Hello World application example.

Requirements

Used Components

  • OS: Windows or Linux
  • Docker minimum V18.09
  • Docker Compose V2.4
  • Industrial Edge App Publisher (IEAP) V1.2.7
  • Industrial Edge Management (IEM) V1.3.0-58
  • Industrial Edge Device (IED) V1.2.0-56

Installation

This example is based on the Hello World application, you can find how to install it here

Usage

After installing the application, login to the Industrial Edge Device and click on the application icon to open a web page in your browser.

Without Configuring

As we can see, the application looks the same as the original Hello World application.

We will create new JSON file that will contain our configuration with the following content.

{
  "title": "Configuration and Device Tags",
  "ip": "##$ip$##",
  "deviceName": "##$deviceName$##" 
}

The ##$ip$## and ##$deviceName$## indicate placeholders that will be replaced by device tags.

Let's now create the device tags. Head over to Industrial Edge Management and open Edge Devices/My Edge Devices/.../Tags.

Tags location

Add the two tags as mentioned before.

New tags

Now we will upload our config.json file to Industrial Edge Management. Open Applications/My Projects/config-device-tags/Configurations and add new configuration.

Configuration Location

New configuration

The template file is the config.json file we created earlier.

Now that we have created the configuration, we will download it to the Industrial Edge Device. Open My Installed Apps/.../Update Configuration

Adding configuration to the application

Updating the application with the configuration

After the configuration is downloaded, refresh the application website. You should see the device name and IP displayed.

Updated Application

Documentation

Contribution

Thank you for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section. Additionally everybody is free to propose any changes to this repository using Pull Requests.

If you haven't previously signed the Siemens Contributor License Agreement (CLA), the system will automatically prompt you to do so when you submit your Pull Request. This can be conveniently done through the CLA Assistant's online platform. Once the CLA is signed, your Pull Request will automatically be cleared and made ready for merging if all other test stages succeed.

License and Legal Information

Please read the Legal information.

Disclaimer

IMPORTANT - PLEASE READ CAREFULLY:

This documentation describes how you can download and set up containers which consist of or contain third-party software. By following this documentation you agree that using such third-party software is done at your own discretion and risk. No advice or information, whether oral or written, obtained by you from us or from this documentation shall create any warranty for the third-party software. Additionally, by following these descriptions or using the contents of this documentation, you agree that you are responsible for complying with all third party licenses applicable to such third-party software. All product names, logos, and brands are property of their respective owners. All third-party company, product and service names used in this documentation are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

hello-world-at-scale's People

Contributors

ariefkasim avatar filipd147 avatar hummeln7872 avatar stancd avatar stancd-siemens avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.