~davidc3/+junk/unity-scope-yelp-golang

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Create a Go workspace:

    cd /path/to/workspace
    export GOPATH=`pwd`

Get the Go scopes bindings:

    go get launchpad.net/go-unityscopes/v1

Get the Yelp scope:

    go get launchpad.net/~davidc3/+junk/unity-scope-yelp-golang

Get the Go oauth lib:

    go get github.com/NOX73/go-oauth

Install the scope:

    sudo mkdir /usr/lib/$arch/unity-scopes/yelp
    sudo cp yelp.ini /usr/lib/$arch/unity-scopes/yelp/
    sudo cp yelp /usr/lib/$arch/unity-scopes/yelp/yelp

Restart registry:

    restart scope-registry