NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2 - Get the Source Code

The latest and greatest code is located here: https://github.com/codalab/in the codalab-competitions . Both folder in the codalab repository (repo) in GitHub. Both sets of instructions want direct you to clone this repo repository locally to the VM. Before we get started I want to say since virtual machine. Since we will be making our own customizations down the road we will fork the repo CodaLab has so generously provided and do two thingscustomizing our installation, fork the repository and do the following:

  1. Pull the latest changes from the master repo https://github.com/codalab/codalab-competitions into our your own repo periodically to make sure we you have the latest base code. (repo: https://github.com/QTIM-Lab/MedICI/). .. If you need help doing this on your own, see forking a repo. Since I’ve already done it, just follow along and clone from , but you can just clone the QTIM-Lab/MedICI repo.
  2. Store our your customizations on github GitHub so we that you can clone from this repo for future projects.

Image Removed

  1. Clone the MedICI project. This follows CodaLabs instructions but with our

...

  1. GitHub repo instead. Below is a picture of the commands I’ve executed from “Configure CodaLab from scratch (harder documentation)”. The green circles represent once inside the “src” folder, the changes that are not in the raw CodaLab github repo. This is the start of our customizations.

...


  1. Image Added
  2. Push

...

  1. these changes into

...

  1. your branch.

...

  1.  At this point the app should be ready to deploy

...

  1. .
  2. Run $ docker compose up -

...

  1. d. You may encounter the following error:
    Image Modified

...

  1. The solution to this error is to run with sudo or add

...

  1. yourself to the docker group:
    $ sudo docker-compose up -d

    Or
    https://docs.docker.com/install/linux/linux-postinstall/

    • $ sudo groupadd docker (this may be done already)
    • $ sudo usermod -aG docker $USER (now restart the VM)
  • Now you should be able to run
    • Run $ docker-compose up -d
    • The flag ‘-d’ means to run in detached mode. If you don’t use it, you will notice your command prompt is in a live feed mode telling you everything that is going on with this

...

    • Docker.

Step 3 - Tweak The .env file and Azure Storage

Using this documentation( [2] from earlier): https://codalab-competitions.readthedocs.io/en/latest/

...