Setting up the project

In this phase I will be setting up the project and structuring the project for future commits. The goal will just be to get Vagrant running. No frills.

Using GitHub and tools. #1

  1. Open GitHub for Windows.

Create

  1. Create repository.
    1. Name it.
    2. Give it a path.
    3. Create it.

Overview

Were going to publish and then select a branch after opening a pull request.

Publish

  1. Publish the repository.
    1. Set repo name.
    2. Enter a description.
    3. Release it to the world.

Pull Request

  1. Use github website to open pull request.
    • Open branch, with a new name. I commited here already.
      1. Select new branch.
      2. Input a short subject.
      3. Write some markdown.
      4. Make sure to notice the commit listed.
      5. Create the request.

Branch

Select new pull requested tracked branch.

Context

The context menu will allow us to explore the files.

Git Shell

We can also use the git shell. Helpful for vagrant commands.

Setting up a Vagrantfile.

vagrant init

Execute vagrant init.

Vagrantfile

  1. Clean Vagrantfile!
    1. Explore project.
    2. Open Vagrantfile in prefered editor.

Baseboxes

Search for a box.

Clean it

Clean out comments, while following them.

Finished

Set config.vm.box to “ubuntu/trusty64”. I went ahead and finished the rest of the file too. Enable a provisioner, too. In this case we will use shell.

Committing the work.

Cherry-pick

Commit cherry-picked lines or the whole file. I prefer detail.

Sync

Sync commits or view the pull request.

Up

Execute vagrant up.

Merge It!

Closing the pull request when you know it works.

Did vagrant start for you?! After executing vagrant up we should have seen it worked. Because it’s headless, you wont see the GUI. This means to interact with it we must use vagrant ssh.

Telling the Provisioner how to setup the system! #2

The intent with this phase is to configure the provisioner to install nodejs, which includes node and npm. There is also a few libs and finally git.

I then should be able to pull the repo as the pull request description says.