FLECS
HomeMarketplaceRessourcesGet started
General
General
  • Introduction
    • 👋Welcome to FLECS
    • 💡What we do
    • ✨Our Features
  • 🧠Our Principles
  • FLECS Core
    • 💡Overview
    • 💾Installing FLECS Core
    • 🎟️License activation
    • 🖱️App Management
      • Install an App from the FLECS Marketplace
      • Updating an App in FLECS Core
      • Using your App with FLECS Core
      • Using the Import/Export Feature in FLECS Core
      • Sideload an App
    • 📯Exchanging data between apps
      • Connect Node-RED via Mosquitto MQTT to the Service Mesh
  • WebApp Whitelabeling
  • FLECS Marketplace
    • 💡Overview
    • 🏋️My Account on FLECS Marketplace
      • 🎫How to Request a Quotation in the FLECS Marketplace
      • ❓How to Submit a Support Request for Marketplace Products
    • 🎬Device Onboarding Service (D-O-S)
    • ®️Whitelabel the FLECS Marketplace
    • 📈Vendor Dashboard
      • How to Create or Edit a Product on the FLECS Vendor Dashboard
      • Adding Staff Members to the FLECS Vendor Dashboard
      • Managing Your Orders on the FLECS Vendor Dashboard
      • Managing Support Tickets via FLECS Vendor Dashboard
      • How To Handle Quotation Requests in the FLECS Marketplace
  • Fundamentals
    • 🛠️First Steps with FLECS
      • Installing Linux Ubuntu on a Virtual Machine
      • Installing FLECS Core on a Windows PC using Docker Desktop
    • 🏷️FLECS Whitelabeling Subscription
  • 📚Glossary
  • Engineering
    • API Docs
    • App Publishing Guide
Powered by GitBook
On this page
  • Introduction
  • Pre-Conditions for Sideloading
  • Sideloading via the Web Interface
  • Sideloading via CLI
  • Troubleshooting
  • Conclusion

Was this helpful?

  1. FLECS Core
  2. 🖱️App Management

Sideload an App

PreviousUsing the Import/Export Feature in FLECS CoreNextExchanging data between apps

Last updated 11 months ago

Was this helpful?

Introduction

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).

Pre-Conditions for Sideloading

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.

Sideloading via the Web Interface

  1. Initial Steps:

    • Sign in to the FLECS Marketplace.

    • Go to the "Apps" page on the web interface.

  2. 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.

  3. 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.

  4. Post-Installation:

    • The app runs as a Docker container on the device.

  5. Debugging:

    • Use an IDE like Visual Studio Code, benefiting from extensive Docker container debugging documentation.

Sideloading via CLI

  1. Loading the App:

    • Load the .json, .yaml or .yml file with: flecs app-manager sideload /path/to/manifest.yaml.

  2. Creating an Instance:

    • Create an instance: flecs app-manager create-instance com.vendor.app-name <version>.

    • Record the returned ID.

  3. Launching the Instance:

    • Start the instance: flecs app-manager start-instance <id>.

  4. Post-Installation:

    • The app is operational as a Docker container on the device.

  5. Debugging:

    • For debugging, Visual Studio Code or similar IDEs are recommended.

Troubleshooting

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.

Conclusion

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.

Login to the FLECS Marketplace
Sideload App button
App successfully installed