-
Install Docker
-
Download compose.yaml
-
Make sure that the contract and the sql file with the query to the Aktin DWH are on the same host, you can find examples here
-
Create
.envin the same folder ascompose.yamland store your setup information, e.g.- Docker compose automatically reads the contents of .env
# Aktin DWH connection info #DB_HOST=my-host # do not set if db is hosted on localhost DB_PORT=5432 DB_USER=i2b2crcdata DB_SCHEMA=i2b2 # orchestrator information # optional, only needed if file path differs from ./contract.yaml MELD_CONTRACT_FILE=$HOME/MELD/examples/nn/resources/contract.yaml # optional, only needed if file path differs from ./query.yaml MELD_QUERY_FILE=$HOME/MELD/examples/nn/resources/query.sql
-
In the same folder also create a file
secrets.txtand fill it with the db password -
Pull MELD image
docker compose pull
Before the first inference run, the inference runtime image must be pulled.
- Open a terminal and navigate to the folder containing the
compose.yaml - Run
docker compose run meld pull
- Open a terminal and navigate to the folder containing the
compose.yaml - Run
docker compose run meld run
1.Open a terminal and navigate to the folder containing the compose.yaml
2 Run docker compose run meld delete
After a completed (successful or unsuccessful), you can find the output archive in ./jobs/<job_id>/outout/summarized_execution.zip.
It contains
input/: all input files likeinput.csvandcontract.yamllogs/: logs of the joboutput/: result files from the runtime container, likeoutput.csv