Sideload an App
Last updated
Last updated
Sideload functionality in FLECS Core offers an efficient pathway for developers to deploy and debug their own apps. There are two main methods for sideloading apps: via the FLECS user interface (recommended) and the CLI (Command Line Interface).
Before sideloading an app, ensure that your system has access to the repository where the Docker image, specified in the YAML file, is stored. This is a crucial step for both the web interface and CLI methods.
Initial Steps:
Sign in to the FLECS Marketplace.
Go to the "Apps" page on the web interface.
Sideload Process:
Click on the "Sideload App" button.
Upload your .json
, .yaml
or .yml
file.
The system processes the file, installing the app and launching an instance.
Installation Log:
To confirm successful installation, refer to the installation log. This log provides detailed information about the installation process and is essential for troubleshooting.
Post-Installation:
The app runs as a Docker container on the device.
Debugging:
Use an IDE like Visual Studio Code, benefiting from extensive Docker container debugging documentation.
Loading the App:
Load the .json
, .yaml
or .yml
file with: flecs app-manager sideload /path/to/manifest.yaml
.
Creating an Instance:
Create an instance: flecs app-manager create-instance com.vendor.app-name <version>
.
Record the returned ID.
Launching the Instance:
Start the instance: flecs app-manager start-instance <id>
.
Post-Installation:
The app is operational as a Docker container on the device.
Debugging:
For debugging, Visual Studio Code or similar IDEs are recommended.
If the sideloading process fails, verify that your system can access the repository containing the Docker image as specified in the JSON or YAML file. This is often a critical step in ensuring successful app deployment.
Sideload functionality in FLECS Core provides versatile options for developers, whether through a straightforward web interface or a more integrated CLI approach. Ensuring repository access beforehand can significantly streamline the sideloading process.