User Tools

Site Tools


juju

This is an old revision of the document!


Working with Juju

Compiling juju-core

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

juju.1398077806.txt.gz · Last modified: 2014/04/21 13:56 (external edit)