diff --git a/HandsOn/5-UsefulConceptsAndSTL/do_patch.sh b/HandsOn/5-UsefulConceptsAndSTL/do_patch.sh deleted file mode 100755 index a7ea4726f8cd3789f22eb366ea0031e56c1cb617..0000000000000000000000000000000000000000 --- a/HandsOn/5-UsefulConceptsAndSTL/do_patch.sh +++ /dev/null @@ -1,3 +0,0 @@ -next=$(($1+1)) - -diff Solution/exercise$1.cpp Solution/exercise$next.cpp > p$1_$next diff --git a/HandsOn/README.md b/HandsOn/README.md index c4b6f3e963a0d27c39085d14401c86b1c23014c5..69f62b6c7161e21fd2caaeb20e84d750f2c7c1ed 100644 --- a/HandsOn/README.md +++ b/HandsOn/README.md @@ -2,14 +2,16 @@ The more natural to run the hands-ons is to set up your local environment with a However if need be we prepared a Docker image which includes a very basic environment with the minimum required to be able to run the hands-ons. -The image is based on Fedora and is created through this [Dockerfile](../docker/Dockerfile.fedora). +The image is based on Fedora and is created through this [Dockerfile](../docker/Dockerfile.fedora_for_hands_on). -To run it type: +To run it, place yourself in the `HandsOn` directory and type: ``` -docker run -it --rm -v $PWD:/home/formation/gettingstartedwithmoderncpp --cap-drop=all registry.gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/fedora_for_hands_on:latest +docker run -it --rm -v $PWD:/home/dev_cpp/training_cpp --cap-drop=all registry.gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/fedora_for_hands_on:latest ``` +You may now edit in your local environment the source files with your favorite IDE and compile and runs the example in the container. + Most options have already been covered in the [main README](../README.md); the only new one is: - `-it` which specifies the container must be run in interactive mode (i.e. you get a prompt to a terminal inside the Docker environment). diff --git a/HandsOn/diff.sh b/HandsOn/diff.sh deleted file mode 100755 index bd4dd0c9993f4d3735ed0679f7e12a3f41d55658..0000000000000000000000000000000000000000 --- a/HandsOn/diff.sh +++ /dev/null @@ -1,5 +0,0 @@ -next=$(($1+1)) - -echo "diff ../exercise$1.cpp ../exercise$next.cpp" - -diff ../exercise$1.cpp ../exercise$next.cpp \ No newline at end of file