Compiling

Linux

  • Download Golang

    wget https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz
  • Extract Golang

    sudo tar -C /usr/local -xzf go1.6.3.linux-amd64.tar.gz
  • Golang Environment Variables

    sudo nano /etc/profile
    add the following to the bottom:
    # golang
    export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
  • Golang Workspace Environment Variables

    nano ~/.profile
    add the following to the bottom:
    # golang
    export GOPATH=$HOME/go
  • Restart Shell

    exit
  • Test Golang

    go version
    # go version go1.6.3 linux/amd64
  • Download Spoofgo

    go get sabey.co/spoofgo
  • Build Spoofgo

    cd ~/go/src/sabey.co/spoofgo
    go build
  • Install Spoofgo (optional)

    This will allow you to use the command "spoofgo" anywhere
    Settings are saved in folder you execute this command from! So if you're using "go install" instead of "go build" watch out!
    go install
  • Run Spoofgo

    Using Build, run spoofgo from the current folder
    ./spoofgo -api -plugin "mockgeofix" -plugin-addr "192.168.1.33:5554" -coordinates-set "vancouver"