This is an old revision of the document!
Set up your environment
echo "GOPATH=$HOME/golang" >> ~/.bashrc . ~/.bashrc mkdir -p $GOPATH
Get a copy of juju-core from launchpad. This will pull in all other dependencies:
go get launchpad.net/juju-core/...
Get our patched version from git. This contains the windows support
rm -rf $GOPATH/src/launchpad.net/juju-core git clone git@github.com:cloudbase/juju-core.git $GOPATH/src/launchpad.net/juju-core cd $GOPATH/src/launchpad.net/juju-coret && git checkout rebase-1.19
Build juju-core
go install launchpad.net/juju-core/...
Binaries will be in $GOPATH/bin