-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As user I want all I need to start Armadillo on README.md #654
Comments
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? |
Running Armadillo locally using
|
Findings ✅Linux ✅
Release test script ✅
|
Run Armadillo using the DockerfileRun the DockerfileStepsTo run the Dockerfile you first need to
Shell preparemkdir 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 Build a local image# Change name or version
docker build --tag demo_armadillo:local --build-arg JAR_FILE="./*.jar" . Run the containerdocker 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 Container life cycledocker container stop demo_armadillo
docker run ... Cleanupdocker container rm demo_armadillo
docker image ls
docker image rm <hash of demo_armadillo> |
|
Using the jar file
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
The text was updated successfully, but these errors were encountered: