Skip to content

Rebuilt Pattern

The DevCore framework build is capable of handling most device management display and modification tasks. However, you may have specific device management needs that require custom UI components and logic. To meet this need, you can extend or modify the DevCore with a bespoke build of your own.

The Ioto-Apps download includes the source code for the DevCore that is used to build the Standard device manager app. You can customize, modify, extend and rebuild the DevCore and upload to the Builder to use for your apps.

Copying the Manager

The Ioto-apps download includes a manager app under the ./apps/manager directory. In its pristine state, this app is used by EmbedThis to build the Standard device manager that is used when apps are first created. You can copy the manager directory and then extend or modify to suit your needs.

To get started, copy the entire apps/manager directory to a new directory:

bash
$ cp -r apps/manager apps/mymanager

Rebuilding

To rebuild the manager, select your app via the make command line.

bash
$ make APP=mymanager clean build

The build will create:

  • A new build of a manager app including the modified DevCore
  • The Ioto agent with required services

The built application will be located under the apps/mymanager/ui/dist directory and will contain the individual application files and a app.zip ZIP file that is ready for uploading via the Builder to the Builder for hosting the UI.

Uploading your build

To upload your build, login to the Builder site to create and configure an app. Then, from the Builder apps list, click on the Add button or the Edit icon to modify an existing app.

Select the Custom App option and upload your app.zip archive and click Save.

The Builder will then deploy the image to the associated Ioto device cloud, which will take a few minutes.

See the Manager App in the Ioto Agent documentation for full details.