Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.31 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.31 KB

Vagrant Virtual Development Environment for GoLang

Install Vagrant

Windows Users

  • Download Git for Windows:
    • Run the installer and "next" through the wizard until the step to adjust your PATH environment.
    • Choose the third option, "Run Git and included tools from within the Windows Command prompt"
    • Important: On the next step, "Configuring the line ending conversions", choose the second option: "Checkout as-is, commit Unix-style line endings".
    • Choose "next" through any additional steps to complete the Git for Windows install.
    • Open the Windows Command Prompt as Administrator

Fork this repository on Github.

Clone your fork of the golang-vagrant respository to a directory on your host machine:

host $ git clone https://github.com/<your-github-username-here>/golang-vagrant.git
host $ cd golang-vagrant

Connect to the Virtual Machine

Start the virtual machine:

host $ vagrant up

Connect to the virtual machine via ssh:

host $ vagrant ssh

Try it out!

guest $ cd dev
guest $ go run pi.go