-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
TOFarmer edited this page Nov 2, 2018
·
26 revisions
The following document provides instructions as to how to setup an environment for testing
Download and install Docker (you may need to create an account)
Set up repository
sudo yum install -y yum-utils device-mapper-persistent-data lvms
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repoInstall Docker CE
sudo yum install docker-ceStart Docker
sudo systemctl start dockerVerify Docker is running (optional)
sudo docker run hello-worldSet up repository (for x86_64/amd64 architecture - see https://docs.docker.com/install/linux/docker-ce/ubuntu/ for others)
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"Install Docker CE
sudo apt-get install docker-ceVerify Docker is running (optional)
sudo docker run hello-worldStart Docker (required once for Mac/Windows, not required for Linux) For Windows, do not include sudo
Pull to ensure most recent image:
sudo docker pull tfarmer/mmtk_dependenciesstart bash in docker container of mmtk_dependencies:
sudo docker run -it tfarmer/mmtk_dependencies bashUse pip to install MDMC. Specify the branch after @, e.g. for refinement branch:
pip install -e git+https://github.com/MDMCproject/MDMCv0.2_pilot.git@refinement#egg=MDMCEnter GitHub username Enter GitHub password