Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.34 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.34 KB

Lab VM setup

Prerequisites

The following softwares have to be installed on you host machine (laptop)

Some public services free subscriptions are needed

VM provisioning

Install Vagrant plugins

$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostmanager

Fork GitHub repo

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