/dem

Containerized Development Environment Manager for embedded development

Primary LanguagePythonOtherNOASSERTION

Containerized Development Environment Manager
for
Embedded Development

Manage your containerized Development Environments with ease


GitHub tag (with filter) GitHub issues Discord



🌟 Join our Community on Discord 🌟

Get answers to your challenges, and learn more about DEM, embedded development tools, and development platforms.



Overview

DocumentationTutorialContribution guideSupport

The DEM is a command line tool that provides an easy, reproducible, and scalable way to set up Development Environments for embedded software development.

The DEM can be used locally, but it is in alpha state, so expect major new features!

Contributors and early adopters are welcome!

Concept

A Development Environment is a set of tools used for a development project (e.g. build system, debugger, toolchain, etc.). The tools are separately packed into container images, which are stored in registries.

Each Development Environment has a descriptor. A descriptor indicates which tools are required in the project and the place their container images are stored. All descriptors are stored in the Development Environment Catalogs. The users can browse these catalogs, and list the available environments and their statuses.
A Development Environment can be installed from its catalog by a simple dem command, which means that the required tool images get downloaded from the registries.

The registries, the catalogs, and the development infrastructure form a Development Platform.

The purpose of DEM is the easy management of this platform. The users can install available Development Environments or freely create their own from the tool images available in the registries or locally.

platform

Key features

  • Create scalable, reliable, and reproducible containerized Development Environments
  • Manage your containerized tools
  • Install preconfigured Development Environments from catalogs
  • Ensure that everyone in the team works with the same toolset
  • Share Development Environments outside of your organization

Prerequisites

To be able to use the DEM on your PC, you need to have the following software installed:

  • Python 3.10+
  • Docker Engine 24.0+

ℹ️ Currently only the Linux operating system and the Docker Engine are supported.

Installation

Use the following install script to get the latest version of DEM: curl -fsSL 'https://raw.githubusercontent.com/axem-solutions/dem/main/install-dem.sh' | bash

Alternative installation

If all the prerequisites are fulfilled, the DEM can be installed from the PyPI repository:

pip install axem-dem

ℹ️ The package name is axem-dem, but the command is dem.

Enable autocompletion

After installation, you can enable the autocompletion for bash and zsh shells

dem --install-completion

If the command didn't work, supply your shell type as input parameter (bash or zsh) Note for zsh users: compinit must be called from your .zshrc.

Quick start

Install a preconfigured environment

List the available environments:

dem list --all --env

You can get information about the Development Environment of your choice:

dem info DEV_ENV_NAME

Installation of a Development Environment from a catalog can be done with a single command:

dem pull DEV_ENV_NAME

Create a new environment and add your own tools

Create separate container images for your tools.

There is no need for any specific configuration in your container images to be compatible with DEM.

From the new images and the ones available from the registries, you can create your new Development Environment:

dem create DEV_ENV_NAME

This command will start a TUI where you can configure your new Development Environment.

For more detailed instructions please refer to the Documentation