To install orderly.runner
:
remotes::install_github("mrc-ide/orderly.runner", upgrade = FALSE)
To run the full docker setup:
- Optionally modify
docker/test/examples
orderly reports. These will be used as reports in the container - Run
docker/test/run-test
- this will produce atest-repo
directory to show you what was copied into the docker containers (you can create just this directory without running the docker containers by runningdocker/test/setup-test-repo
if you want) - The server will be available at
localhost:8001
- To view the orderly root directory in the docker container (you may want to do this after workers have run orderly reports for example), run
docker/test/copy-orderly-root
and this will copy the contents todocker/test/orderly-root-volume
- Finally to clear docker and remove
test-repo
andorderly-root-volume
directories rundocker/test/clear-test
When running the server or worker containers, you should have REDIS_CONTAINER_NAME
env var set to connect to the redis container from the server and worker containers. You should also set the ORDERLY_RUNNER_QUEUE_ID
to the same thing between server and worker containers so they connect to the same queue.
MIT © Imperial College of Science, Technology and Medicine