Viewing 0 reply threads
  • Author
    Posts
    • #13028
      Michel Castaño
      Keymaster

      1. Create your python program, let’s say its name is myApp.py
      2. Create a json named package.json with the following info:

      {
      "name": "My App",
      "version": "0.0.5",
      "description": "My App application",
      "icon": "https://myicons.com/logo.png",
      "minApexVersion": "21.17.1",
      "repository": "https://myrepo.com/applications/mmyApp/",
      "author": "me@mydomain.com"
      }

      3. Create a third file named init.sh which content is only the instruction to run your Python app:
      python3 myApp.py

      4. Pack everything in a zip file, for example: myApp_v_0.0.5.zip

      5. Via https://cloud.digitalcomtech.com/  define an application:

       

      6. Upload your zip file, Put a description and Add the units that will use your app

      This is the recommended way to run an app inside Syrus 4 since it is kept inside Systemd list

Viewing 0 reply threads
  • You must be logged in to reply to this topic.