-
Notifications
You must be signed in to change notification settings - Fork 1
Before arriving at the venue
- If you're not a GitHubber yet, please sign up for GitHub (it's free). We're going to use GitHub and GitHub Education during the course for hosting code and material so as collaborating all together β¨
- Thus, provide a complete profile π€ detailing your:
- Name
- Surname
- Email (can be kept hidden)
- Picture (not mandatory, but we appreciate it π)
- Bio (again not mandatory, but appreciated)
Once you have a GitHub account, ask us to join the team opening a ticket π at our Q&A system.
Official guidelines for installing the software on different platforms can be browsed on our online π manual.
β However, we warmly recommend that you proceed with installing the docker image we provide for the training (see below).
This is methodologically relevant as we aim to maximize the effectiveness of training hours by focusing on the content of the course rather than spending time troubleshooting installation snags that may arise along the way.
To run the docker container, go through the following steps:
- Make sure that you have installed Docker correctly for your platform.
- Pull the docker image:
docker pull ghcr.io/vvv-school/gitpod:latest
- Launch the container:
where
docker run -it -p 6080:6080 --user gitpod --name <container_name> ghcr.io/vvv-school/gitpod:latest
container_name
is an optional id that the user can specify to ease the later identification of the container. - From within the container shell, launch the following scripts:
init-icubcontrib-local.sh start-vnc-session-local.sh
- Open up the browser on your host and connect to
localhost:6080
to get to the workspace desktop GUI.You should get the outcome below π
Once done with the container, you can stop it in two different ways:
- Log out from the container shell by pressing CTRL+D.
- Stop the container:
docker stop <container_name>
docker start <container_name>
docker attach <container_name>
docker container rm <container_name>
docker container ls -a
To permanently apply to a new image the changes you made to the container, you need to:
- Stop the container.
- Commit the changes to a new image:
docker commit <container_name> <image_name>
docker system prune -a
- Stick to standard terminals (opened via
docker attach <container_name>
or via the terminal in VNC) when launching docker commands. We spotted problems when dealing with terminals opened up from within the Docker GUI in Windows. - If the graphical interface of the container stops somehow working, just start it over by launching again the following command:
start-vnc-session.sh
Test whether the following tutorial runs as expected.
- From the docker desktop GUI, open up a shell.
- Within the shell terminal, type in the following:
β Copy-paste does not work from the host to the docker desktop GUI. To get around this, simply browse this web page from within the docker desktop straight away: this time, copy-paste will work!
git clone https://github.com/vvv-school/tutorial_cartesian-interface.git cd tutorial_cartesian-interface/smoke-test ./test.sh
You should get the outcome below π |
---|
You may consider relying on the Gitpod Cloud IDE as infrastructure to run the docker image on the cloud:
- Use your GitHub credentials to sign up for Gitpod. You will have 50 hours/month free on public repositories.
- Visit the Gitpod Integrations and make sure that all GitHub options are ticked in.
- Install the Gitpod browser extension.
- Learn how to deal with our Gitpod-enabled repositories.
- Browse the hands-on repositories and try out Gitpod.
π€ Should you experience any problem, don't hesitate to contact us by posting to our π Q&A system.
In view of attending the course, there might be still some time you want to exploit to gear up, especially if you feel you can improve your pace by taking some refresher training.
- Ubuntu: Master the command line
- CMake
- CMake Hello World
- C++ Tutorials I
- C++ Tutorials II
- C++ Building System
- Guidelines to maintain better code
- Learning Git
- Git Cheat Sheet
- Interactive Git Cheat Sheet
- The complete guide to Git
- Hello World in GitHub
- Git and GitHub learning resources
- GitHub Learning Lab
- How to trim (survive) GitHub notifications π. Disabling them all is not an option π. In short, you can subscribe/unsubscribe to conversations in multiple ways, the most relevant being per repository or per issue.
Return to Home Page