Open mswertz opened 6 months ago
Something like a quick start?
I need some context for that:
I would opt for armadillo-compose as that only requires shell + docker
What do you think?
armadillo-compose.zip
You can choose either the latests build version (pre release) or the official (stable) release.
These steps require Docker Desktop installed as the profiles require it and this version of Armadillo needs it.
armadillo-compose.zip
armadillo-compose
is extracteddocker compose build
(or docker-compose
using depending on OS)docker compose up
(to stop later on press CTRL-C)For more info about editing the configuration and cleanup read the supplied README.md
file
./
instead (project/profiles/etc not found) fixed by #690We were testing against v4.1.3 which did not support linked view yet. used wrong version
── Creating linked view on table ──
Created project 'qlzvezj3v9' without users
✖
Error in stop(cond) : bad error message
Calls: exit_test
Execution halted
To run the Dockerfile you first need to
demo-armadillo
and cd into demo-armadillo
data config logs
application.template.yml
and move it to `confg/application.ymlmolgenis-armadillo-*.jar
file from the assets of latest or one of the other releasesmkdir demo-armadillo
cd demo-armadillo
mkdir data config logs
wget https://raw.githubusercontent.com/molgenis/molgenis-service-armadillo/master/Dockerfile
# change name and version to your likings
wget https://github.com/molgenis/molgenis-service-armadillo/releases/download/v4.3.1/molgenis-armadillo-4.3.1.jar
# Not needed unless
wget https://raw.githubusercontent.com/molgenis/molgenis-service-armadillo/master/application.template.yml --output-document=config/application.yml
# Change name or version
docker build --tag demo_armadillo:local --build-arg JAR_FILE="./*.jar" .
docker run \
--detach \
--publish 8080:8080 \
--volume ./data:/data \
--volume ./config:/config \
--volume ./logs:/logs \
--volume /var/run/docker.sock:/var/run/docker.sock \
--name demo_armadillo \
demo_armadillo:local
docker container stop demo_armadillo
docker run ...
docker container rm demo_armadillo
docker image ls
docker image rm <hash of demo_armadillo>
/docs/
documents for each variantDockerfile
" with text like "Install docker, run shell commands to fetch requirements, run"brew install openjdk
gives version 21winget
?To test as a new user remove all related docker containers and images and stop docker daemon
mkdir test
cd test
wget https://github.com/molgenis/molgenis-service-armadillo/releases/download/v4.5.0/molgenis-armadillo-4.5.0.jar
java -jar molgenis-armadillo-4.5.0.jar
# fails on missing docker daemon:
# - Error creating bean with name 'profilesDockerController'
# - install Docker Desktop and run it
java -jar molgenis-armadillo-4.5.0.jar
# fails on missing data dir
mkdir data
java -jar molgenis-armadillo-4.5.0.jar
# Check projects (empty)
# Check users (empty)
# Check profiles (default datashield/rock-base:latest)
# Check insight file audit exists
# Check insight file Log is empty
CTRL-C
ls -l
# data/
# logs/
# molgenis-armadillo-4.5.0.jar
# - logs/ dir is created automagically
Shortest description how to start is on in README. (as it used to be). Link to docs for the details