Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 2.03 KB

README.md

File metadata and controls

35 lines (23 loc) · 2.03 KB

orderly.runner

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. R build status Build status codecov.io

Installation

To install orderly.runner:

remotes::install_github("mrc-ide/orderly.runner", upgrade = FALSE)

Testing and development

To run the full docker setup:

  1. Optionally modify docker/test/examples orderly reports. These will be used as reports in the container
  2. Run docker/test/run-test - this will produce a test-repo directory to show you what was copied into the docker containers (you can create just this directory without running the docker containers by running docker/test/setup-test-repo if you want)
  3. The server will be available at localhost:8001
  4. 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 to docker/test/orderly-root-volume
  5. Finally to clear docker and remove test-repo and orderly-root-volume directories run docker/test/clear-test

Notes for deploying

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.

License

MIT © Imperial College of Science, Technology and Medicine