Create same App - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

If you always want to create the same application (for example, for testing purposes), you need to create the application and specify a 32-character app ID.

Use the following command for that:

$ iectl publisher standalone-app create \
            --appid "0c93bc0c96a14ad5a0c68d20d586f9a4" \    # 0c93bc0c96a14ad5a0c68d20d586f9a4 is unique application id of 32 characters, if it is not provided then auto generated application id will be used.            
            --reponame "mycompany" \                        # mycompany relates to the repository name of the docker image.
            --appdescription "my cool app"  \
            --iconpath "/path/to/my/icon.png" \
            --appname "my cool app"\

NOTICE

To create always the same app, ensure you are always using the same argument values and app ID.