Skip to content

Instantly share code, notes, and snippets.

@srid
Created March 21, 2012 19:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srid/2151665 to your computer and use it in GitHub Desktop.
Save srid/2151665 to your computer and use it in GitHub Desktop.
building doozerd and doozer
# install go weekly to ~/go
cd
hg clone https://go.googlecode.com/hg/ go
hg up weekly
cd src && ./make.bash
export PATH=~/go/bin:$PATH
export GOROOT=~/go
# doozer client
cd $GOROOT/src/pkg/github.com/ha/
git clone https://github.com/srid/doozer
cd doozer
go get
cd cmd/doozer
printf 'package main\n\nconst version = `'$(../../ver.sh)'`\n' > ver.go
go install
# doozerd (fork for go weekly)
mkdir -p $GOROOT/src/pkg/github.com/ha/
cd $GOROOT/src/pkg/github.com/ha/
git clonehttps://srid@github.com/ActiveState/doozerd.git
cd doozerd
./make.sh
# let's run the server
doozerd -w ":8080"`
# launch the web ui
open http://stackato.local:8080/
# write to the tree using the client
echo 'hello' | doozer add /message
doozer get /message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment