Geen omschrijving

Claudio Gomes 1e46b46fbc added dockers instructions 6 jaren geleden
examples 1e46b46fbc added dockers instructions 6 jaren geleden
Dockerfile 1e46b46fbc added dockers instructions 6 jaren geleden
README.md 1e46b46fbc added dockers instructions 6 jaren geleden
notebook.ps1 65e3f80a4e notebo 6 jaren geleden

README.md

Objective

This repository contains the materials that are used in the Co-simulation tutorial delivered at Wintersim Conference, in 2019.

Running the Examples

The best way to run the examples is to use Docker.

  1. Install docker.
  2. Using docker's console, navigate to the root of this repository.
  3. Build the docker image: docker build -t jupyter . This will download all dependencies you need to run the examples.
  4. Note the host's ip address by running: docker-machine ip. Let us denote it by MACHINE_IP
  5. Run the docker container: docker run -p 8888:8888 jupyter. This will start a container of the image tagged with jupyter and will forward any traffic going into port 8888 (in the host machine) to the same port in the virtual machine. Let TOKEN denote the token given.
  6. Open your browser and navigate to http://MACHINE_IP:8888/?token=TOKEN
  7. Explore the examples.
  8. Go back to docker's console, and exit the running container by typing Ctrl+C.
  9. List the running containers: docker container ls . If there are running containers, note their ID and stop them using: docker stop CONTAINERID

Any changes made in the notebooks are not permanent. You have to save them to your computer.