DreadPirateShawn / vagrantfile-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrantfile-go

Vagrantfile (etc) for Go dev stack.

Features

Resource Flavor
OS Ubuntu 14.04 LTS
Vagrant box ubuntu/trusty32
Go Linux binary 32-bit
godep automatic via "go get"

Contents

Setup: Required

See Vagrantfiles

Setup: Personalize

See Vagrantfiles

First Run

cd /path/to/your/workspace   # quite likely this matches your synced folder path
git clone git@github.com:User/Repo.git
cd Repo

Vagrant Commands

See Vagrantfiles

Notes

General startup times

  • Initial vagrant up = approx 3 minutes

  • Subsequent vagrant provision = approx 3 minutes

    Note: Obviously this will vary extensively based on your system. This is just a rough idea. May take notably longer on very first vagrant up since apt-get data is not yet cached.

General provision actions

  • install various apt packages

  • enable SSH forwarding, copy ~/.gitconfig into VM

    Note: All provision actions can be run repeatedly -- vagrant provision on a running system is expected to succeed.

Troubleshooting

See Vagrantfiles

About


Languages

Language:Shell 100.0%