Development Tools and Tips
Downloads
- Custom App SDK (includes custom app template and utility scripts)
Utility Scripts
- copy-to-conduit.sh takes a directory and ip address then copies the entire directory to
/media/card/
on the Conduit®. This can be used if you want to try manually installing and running your app withoutapp-manager
. - install-to-conduit.sh takes a directory and ip address
. It tars up the app, copies it to
/media/card/
on the Conduit, then usesapp-manager
to manually install the app (bypassing DeviceHQ).
Create the Tarball Package
$ cd <your_top_level_app_directory> $ tar --hard-dereference -hczf <path_to_create_tgz>.tgz *
Manual Installation
- Copy the tarball package to
/media/card/
(installation will fail if the archive is in the root file system)$ scp <your_tarball> admin@<your_conduit_ip>:/media/card/
- Install the app:
$ app-manager --command local --apptype CUSTOM --appname <your_app_name> --appfile /media/card/<your_tarball>
- NOTE: You must uninstall a manually installed app before installing the same app through DeviceHQ:
- Via the Conduit UI’s Apps page
- Via the command line:
$ app-manager --command remove --appid LOCAL
Starting and Stopping
- Via the Conduit UI’s Apps page
- Via the command line:
$ app-manager --command start --appid LOCAL $ app-manager --command restart --appid LOCAL $ app-manager --command stop --appid LOCAL
Check App Status
- Via the Conduit UI’s Apps page:
- Shows the name, version, status, and info fields for all installed apps.
- To see description, hover mouse over the app name.
- To see version notes, hover over the version.
- Via the command line:
$ app-manager --command status
For information on deploying apps to production, see Production Deployment.