To run the sandbox locally using Docker, go through the following steps:
- Pull the docker image:
$ docker pull icubteamcode/design-holder:latest
- Launch the container:
$ docker run -it --rm -p 6080:6080 --user gitpod icubteamcode/design-holder:latest
-
From within the container shell, launch the following scripts:
$ init-icubcontrib-local.sh $ start-vnc-session-local.sh
-
Clone and install the project:
$ git clone https://github.com/icub-tech-iit/design-holder-realsense.git /workspace/design-holder-realsense $ cd /workspace/design-holder-realsense $ mkdir build && cd build $ cmake ../ $ make install
-
Open up the browser and connect to
localhost:6080
to get to the workspace desktop GUI. -
In the desktop GUI, open a terminal and run the analysis:
$ run-analysis.sh
-
Once done, from the container shell press CTRL+D.