Giter Site home page Giter Site logo

templateapp's Introduction

Template for Application Examples

What is an application example

An application example ist a stand alone project, which demonstrates the usage of one ore more features or libraries. This template is optimized for a creation of application examples for PLC applications (executable on a PLCSIM Advanced or real PLC S7-1500).

Create a project from this template

Example: If you want to create an application example ae-motion-control then use this template by entering:

apax create @simatic-ax/app --registry https://npm.pkg.github.com ae-motion-control

Create an application example on GitHub

Example: An application example ae-motion-control should be created.

  1. Create a repository ae-motion-control on GitHub

    newrepo

    newrepo2

    If public or private depends is an internal decision

  2. Add the secrets to the repository (only in the case if it's private)

    secrets

    you don't know the secrets? Ask one of the owners or @sjuergen

  3. Create a repository template-ae-motion-control on GitHub which contains the apax package

    newrepo

    newrepo3

    If public or private depends is an internal decision

  4. If not done, login to the GitHub registry

    apax login --registry https://npm.pkg.github.com/ --password <your personal access token>

    More information you'll find here

  5. Create the application example from the template

    apax create @simatic-ax/app --registry https://npm.pkg.github.com ae-motion-control
  6. Add the remote repository to your local repository

    git remote add origin [email protected]:simatic-ax/ae-motion-control.git
    git push -u origin main
  7. Install dependencies

    apax install -L
  8. Optionally update dependencies

    apax update -a
  9. Now you can implement the application example

Release the application example

Before releasing

Before you release the application example, all checks have to be done:

  • OSS Clearing
  • Patent Clearing
  • ECC (Export control with the ecc wizzard)
  • License is up to date
  • The readme contains a description:
    • What is this application doing?
    • How to install the application example
    • How to start the application example
  • Application example has been reviewed

Release of the application example

release

Structure of this template

app
 |
 +- .github
 |      +- github-action-release-ae.yml
 |
 +- docs
 |    |
 |    +- app.md
 |
 +- src
 |   +- Configuration.st
 |   +- MainProgram.st
 |
 +- test
 |    +- dummy.st
 |
 +- watchlist
 |    +- default.mon
 |
 +- .gitignore
 +- apax.yml
 +- LICENSE.md
 +- README.md

Learn More

See the documentation on custom templates.

templateapp's People

Contributors

sjuergen avatar kruegerfelix avatar thkindler 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.