minimal-ade

A minimal example of an ade-compatible project

Pure Nim score 15/100 · last commit 2019-03-14 · 3 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 3
Forks 2
Open Issues 0
Last Commit 2019-03-14
Downloads 0
Last Indexed 2026-07-31 04:41

Installation

nimble install minimal-ade
choosenim install minimal-ade
git clone https://gitlab.com/ApexAI/minimal-ade

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
minimal-ade - - - - - - -

Source

Repository https://gitlab.com/ApexAI/minimal-ade
Homepage https://gitlab.com/ApexAI/minimal-ade
Registry Source gitlab

README

minimal-ade

A minimal example of an ade-compatible project:

~/ade-home/
├── .adehome <- Tells ade-cli that this is the root of this ade home
└── minimal-ade
    ├── .aderc <- Tells ade-cli what images and volumes to use
    ├── Dockerfile
    ├── entrypoint
    └── env.sh

Build and start

  • Create ade-home (if not created)
$ cd ~
$ mkdir ade-home
$ cd ade-home
$ touch .adehome
  • Note: The ade-home directory can have any name, it just needs to contain .adehome

  • Clone this repository, build the docker image, and start ade

$ cd ~/ade-home/
$ git clone git@gitlab.com:apexai/minimal-ade.git
$ cd ~/ade-home/minimal-ade
$ docker build -t image .
$ ade start

Additional recommendations

  1. Add --label ade_image_commit_sha=<git hash> and/or --label ade_image_commit_tag=<git-tag> to docker build to embed VCS information in the docker image
  2. Additional docker run arguments are usually needed to enable some tools (e.g. debuggers and networking tools). e.g. Add the following to .aderc to enable gdb: export ADE_DOCKER_RUN_ARGS=" --cap-add=SYS_PTRACE "