The following softwares have to be installed on you host machine (laptop)
- Git client download here
- Virtualbox download here
- Vagrant download here
- Bash command line (Git bash, Moba or Cygwin if you are on Windows)
Some public services free subscriptions are needed
- A GitHub account (https://github.com)
- A DockerHUB account (https://hub.docker.com)
Install Vagrant plugins
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostmanager
Fork the https://github.com/sunnyvale-academy/SNY.OSS.DCK.01.01.00 repo to your Github account.
Then clone the repo you forked (change <YOUR_GITHUB_USERNAME> and <GIT_REPO_NAME> placeholders accordingly)
$ git clone https://github.com/<YOUR_GITHUB_USERNAME>/<GIT_REPO_NAME>.git
$ cd <GIT_REPO_NAME>/vagrant/scripts
$ vi .env
Change the following variables into the file .env:
export GIT_USERNAME=
export GIT_REPO_NAME=
Start the VM provisioning process
$ cd <GIT_REPO_NAME>/vagrant
$ vagrant up
Enter into the newly born VM
$ vagrant ssh
vagrant@docker-vm:~$
You are now ready for the next labs