Caserta Evaluation
For Mac Users
-
Install Docker
-
Pull and open repository in Terminal
-
Run "docker build --tag=caserta_evaluation ." to build local docker images (may take up to 20 minutes to complete)
-
Run "docker run -p 8888:8888 caserta_evaluation " to launch docker container
-
Go to jupyter link "localhost:8888" and complete the evaluation
-
Download the notebook as a .ipynb file and send to Andre Chapman (andre@caserta.com)
Steps 2/3/4 in bash
$ git clone https://github.com/Caserta-Concepts/docker_eval.git
$ cd docker_eval
$ docker build --tag=caserta_evaluation .
$ docker run -p 8888:8888 caserta_evaluation
For Windows Users
Windows 7/8/10 home with 64bit:
-
Install Docker Toolbox: https://docs.docker.com/toolbox/toolbox_install_windows/, after installation, the icon of Docker Quickstart Terminal will show on Desktop.
-
Open Windows Terminal, clone Github repo under
C:\Users
(Docker Toolbox mountsC:\Users
into the Docker VM at/c/Users
) -
Click the icon of Docker Quickstart Terminal to launch Docker, and wait for the VM to be initiated
-
In Docker Terminal:
-
Locate docker_eval dir, run "cd /c/Users/docker_eval"
-
Run "docker build --tag=caserta_evaluation ." to build local docker images (may take up to 20 minutes to complete)
-
Run "docker-machine ip" to get VM ip adddress, the output will look something like this: 192.168.99.104
-
Run "docker run -p 8888:8888 caserta_evaluation " to launch docker container
-
-
Back to Windows web browser, go to " <your vm ip address(see above)>:8888 " and complete the evaluation.
-
Download the notebook as a .ipynb file and send to Andre Chapman (andre@caserta.com)
Steps 2/4 in bash
$ git clone https://github.com/Caserta-Concepts/docker_eval.git
$ cd /c/Users/docker_eval
$ docker build --tag=caserta_evaluation .
$ docker-machine ip
$ docker run -p 8888:8888 caserta_evaluation
Windows 10 Pro, Enterprise or Education (Build 15063 or later) with 64bit:
-
Install Docker for Windows
-
Follow the same instructions as for Mac users
Note:
-
When opening the notebook, to get edit access, you may need to left-click the 'Not Trusted'(in the top-left corner) to turn into 'Trusted'
-
When finished with this test:
2.1. 'ctrl-C' twice to shut down the Jupiter and stop the docker container
2.2. Clean up docker images:
$ docker image rm -f caserta_evaluation