template-app 1.2.0
Install from the command line:
Learn more about npm packages
$ npm install @simatic-ax/template-app@1.2.0
Install via package.json:
"@simatic-ax/template-app": "1.2.0"
About this version
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).
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
Example: An application example ae-motion-control
should be created.
-
Create a repository
ae-motion-control
on GitHubIf public or private depends is an internal decision
-
Add the secrets to the repository (only in the case if it's private)
you don't know the secrets? Ask one of the owners or
@sjuergen
-
Create a repository
template-ae-motion-control
on GitHub which contains the apax packageIf public or private depends is an internal decision
-
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
-
Create the application example from the template
apax create @simatic-ax/app --registry https://npm.pkg.github.com ae-motion-control
-
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
-
Install dependencies
apax install -L
-
Optionally update dependencies
apax update -a
-
Now you can implement the application example
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
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
See the documentation on custom templates.
Details
- template-app
- simatic-ax
- almost 2 years ago
Assets
- template-app-1.2.0.tgz
Download activity
- Total downloads 2
- Last 30 days 0
- Last week 0
- Today 0