Clone the repository https://github.com/pthom/Cling_Repl_Demo, and go to the folder scripts/
The Dockerfile provided here will install cling
, miniconda
, jupyter
, xeus cling
, opencv
; and it will configure
jupyter notebook so that you can access it from your host computer.
./scripts/docker_create_image.sh # will build a docker image with cling (be patient, this requires 10 minutes)
./scripts/docker_run_notebook.sh
Then, open your browser to http://localhost:8888
> ./scripts/docker_login.sh
[DOCKER] /sources_docker > # You are now inside the docker container !
cling --std=c++14
Then inside cling, enter some C++ commands : you can follow the example given here.