crowdint / gopher-spree-api

2 stars 1 forks source link

Initial gpm + gvp setup and instructions #48

Closed joiggama closed 9 years ago

joiggama commented 9 years ago

Getting started

First of all install gpm and gvp:

$ brew install gpm
$ brew install gvp

In order to allow gpm to install our package dependencies you will need a personal github token configured for your workstation, if you already did it for another project that will do it, if not, just follow gpm instructions.

Workflow

Always and for every shell session

Source gvp into your shell session:

$ source gvp in

Installing dependencies

Install dependencies by running:

$ gpm install

Adding new dependencies

Add dependencies by appending them to the Godeps file in the following format:

# Git repos
github.com/nu7hatch/gotrail             v0.0.2
github.com/replicon/fast-archiver       v1.02

# Subpackages
github.com/garyburd/redigo/redis        a6a0a737c00caf4d4c2bb589941ace0d688168bb

# Bazaar Repo
launchpad.net/gocheck                   r2013.03.03

# Mercurial Repo
code.google.com/p/go.example/hello/...  ae081cd1d6cc

And install dependencies again.

mumoc commented 9 years ago

LGTM